diff --git a/templates/zookeeper/4/README.md b/templates/zookeeper/4/README.md index f545ed6..ce784c1 100644 --- a/templates/zookeeper/4/README.md +++ b/templates/zookeeper/4/README.md @@ -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. diff --git a/templates/zookeeper/4/docker-compose.yml.tpl b/templates/zookeeper/4/docker-compose.yml.tpl index eff9f0b..f37627e 100644 --- a/templates/zookeeper/4/docker-compose.yml.tpl +++ b/templates/zookeeper/4/docker-compose.yml.tpl @@ -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 diff --git a/templates/zookeeper/4/rancher-compose.yml b/templates/zookeeper/4/rancher-compose.yml index 6a7fc4b..e5c7122 100644 --- a/templates/zookeeper/4/rancher-compose.yml +++ b/templates/zookeeper/4/rancher-compose.yml @@ -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"