Failover fixes (#180)
This commit is contained in:
parent
cb1061b10a
commit
8be8a04fe5
@ -3,6 +3,8 @@ etcd:
|
|||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
io.rancher.scheduler.affinity:container_label_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||||
io.rancher.sidekicks: data
|
io.rancher.sidekicks: data
|
||||||
|
io.rancher.service.allocate.skip.serialize: 'true'
|
||||||
|
io.rancher.container.start_once: 'true'
|
||||||
environment:
|
environment:
|
||||||
ETCD_DATA_DIR: /data
|
ETCD_DATA_DIR: /data
|
||||||
ETCDCTL_ENDPOINT: http://etcd:2379
|
ETCDCTL_ENDPOINT: http://etcd:2379
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
default: 3
|
default: 3
|
||||||
type: "int"
|
type: "int"
|
||||||
etcd:
|
etcd:
|
||||||
retain_ip: true
|
|
||||||
scale: ${REPLICAS}
|
scale: ${REPLICAS}
|
||||||
health_check:
|
health_check:
|
||||||
port: 2379
|
port: 2379
|
||||||
|
Loading…
x
Reference in New Issue
Block a user