Fix: Zookeeper package, configured network_mode to none for sidekicks

This commit is contained in:
Raul Sanchez
2018-01-25 16:39:28 +01:00
parent b14a5f571e
commit 830898d8cf
3 changed files with 5 additions and 3 deletions
@@ -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