remove dashes from labels
This commit is contained in:
parent
386498b1d9
commit
b343bcfb34
@ -2,9 +2,9 @@ version: '2'
|
||||
services:
|
||||
es-master:
|
||||
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
|
||||
- io.rancher.sidekicks: es-storage
|
||||
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.sidekicks: es-storage
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
|
||||
environment:
|
||||
- "cluster.name=${cluster_name}"
|
||||
@ -32,9 +32,9 @@ services:
|
||||
|
||||
es-data:
|
||||
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
|
||||
- io.rancher.sidekicks: es-storage
|
||||
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.sidekicks: es-storage
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
|
||||
environment:
|
||||
- "cluster.name=${cluster_name}"
|
||||
@ -63,9 +63,9 @@ services:
|
||||
|
||||
es-client:
|
||||
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
|
||||
- io.rancher.sidekicks: es-storage
|
||||
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.sidekicks: es-storage
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
|
||||
environment:
|
||||
- "cluster.name=${cluster_name}"
|
||||
@ -94,7 +94,7 @@ services:
|
||||
|
||||
es-storage:
|
||||
labels:
|
||||
- io.rancher.container.start_once: true
|
||||
io.rancher.container.start_once: true
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
|
||||
entrypoint: /bin/true
|
||||
volumes:
|
||||
|
Loading…
x
Reference in New Issue
Block a user