2017-02-24 14:58:54 +00:00
|
|
|
ETCD_DATA_DIR={{ etcd_data_dir }}
|
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-11-09 10:44:41 +00:00
|
|
|
ETCD_LISTEN_CLIENT_URLS=https://{{ etcd_address }}:2379,https://127.0.0.1:2379
|
2017-02-07 14:46:02 +00:00
|
|
|
ETCD_ELECTION_TIMEOUT={{ etcd_election_timeout }}
|
|
|
|
ETCD_HEARTBEAT_INTERVAL={{ etcd_heartbeat_interval }}
|
2016-06-24 12:25:16 +00:00
|
|
|
ETCD_INITIAL_CLUSTER_TOKEN=k8s_etcd
|
2016-11-09 10:44:41 +00:00
|
|
|
ETCD_LISTEN_PEER_URLS=https://{{ 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 }}
|
2016-11-09 10:44:41 +00:00
|
|
|
|
|
|
|
# TLS settings
|
|
|
|
ETCD_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
|
2016-12-22 19:29:24 +00:00
|
|
|
ETCD_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
|
|
|
|
ETCD_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
|
2016-11-09 10:44:41 +00:00
|
|
|
ETCD_PEER_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
|
2016-12-13 09:03:35 +00:00
|
|
|
ETCD_PEER_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
|
|
|
|
ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
|
2016-11-09 10:44:41 +00:00
|
|
|
ETCD_PEER_CLIENT_CERT_AUTH=true
|