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