Fix: Zookeeper package, configured network_mode to none for sidekicks
This commit is contained in:
parent
b14a5f571e
commit
830898d8cf
@ -19,6 +19,7 @@
|
||||
- ZK_MAX_CLIENT_CXNS="500"
|
||||
- ZK_SYNC_LIMIT="5"
|
||||
- ZK_TICK_TIME="2000"
|
||||
- host_label="" # Host label where to deploy zookeeper.
|
||||
|
||||
Click deploy.
|
||||
|
||||
|
@ -22,6 +22,7 @@ services:
|
||||
{{- end}}
|
||||
io.rancher.sidekicks: zk-volume, zk-conf
|
||||
zk-conf:
|
||||
network_mode: none
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
@ -33,6 +34,7 @@ services:
|
||||
volumes:
|
||||
- zkconfig:/opt/tools
|
||||
zk-volume:
|
||||
network_mode: none
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
|
@ -57,10 +57,9 @@ catalog:
|
||||
default: 60
|
||||
type: "int"
|
||||
- variable: host_label
|
||||
label: "Host with Label to put zookeeper on"
|
||||
label: "Host Label"
|
||||
description: |
|
||||
Host label to use as zookeeper 'value' tag.
|
||||
Example: 'zookeeper=true'
|
||||
Host label where deploy zookeeper. E.G.: 'zookeeper=true'
|
||||
required: false
|
||||
default: ""
|
||||
type: "string"
|
||||
|
Loading…
x
Reference in New Issue
Block a user