2016-06-24 12:25:16 +00:00
|
|
|
ETCD_DATA_DIR=/var/lib/etcd
|
2016-07-11 14:05:05 +00:00
|
|
|
ETCD_ADVERTISE_CLIENT_URLS={{ etcd_client_url }}
|
|
|
|
ETCD_INITIAL_ADVERTISE_PEER_URLS={{ etcd_peer_url }}
|
2016-06-24 12:25:16 +00:00
|
|
|
ETCD_INITIAL_CLUSTER_STATE={% if etcd_cluster_is_healthy.rc != 0 | bool %}new{% else %}existing{% endif %}
|
|
|
|
|
2016-07-26 13:18:47 +00:00
|
|
|
{% if not is_etcd_proxy %}
|
|
|
|
ETCD_LISTEN_CLIENT_URLS=http://{{ etcd_address }}:2379,http://127.0.0.1:2379
|
|
|
|
{% else %}
|
2016-07-11 14:05:05 +00:00
|
|
|
ETCD_LISTEN_CLIENT_URLS=http://{{ etcd_address }}:2379
|
2016-07-26 13:18:47 +00:00
|
|
|
{% endif %}
|
2016-06-24 12:25:16 +00:00
|
|
|
ETCD_ELECTION_TIMEOUT=10000
|
|
|
|
ETCD_INITIAL_CLUSTER_TOKEN=k8s_etcd
|
2016-07-11 14:05:05 +00:00
|
|
|
ETCD_LISTEN_PEER_URLS=http://{{ etcd_address }}:2380
|
2016-06-24 12:25:16 +00:00
|
|
|
ETCD_NAME={{ etcd_member_name }}
|
2016-07-11 14:05:05 +00:00
|
|
|
ETCD_PROXY=off
|
2016-10-21 11:39:58 +00:00
|
|
|
ETCD_INITIAL_CLUSTER={{ etcd_peer_addresses }}
|