2017-03-23 16:56:30 +00:00
|
|
|
ETCD_DATA_DIR={{ etcd_data_dir }}
|
|
|
|
ETCD_ADVERTISE_CLIENT_URLS={{ etcd_client_url }}
|
|
|
|
ETCD_INITIAL_ADVERTISE_PEER_URLS={{ etcd_peer_url }}
|
|
|
|
ETCD_INITIAL_CLUSTER_STATE={% if etcd_cluster_is_healthy.rc != 0 | bool %}new{% else %}existing{% endif %}
|
|
|
|
|
2017-07-24 08:25:38 +00:00
|
|
|
ETCD_METRICS={{ etcd_metrics }}
|
2017-03-23 16:56:30 +00:00
|
|
|
ETCD_LISTEN_CLIENT_URLS=https://{{ etcd_address }}:2379,https://127.0.0.1:2379
|
|
|
|
ETCD_ELECTION_TIMEOUT={{ etcd_election_timeout }}
|
|
|
|
ETCD_HEARTBEAT_INTERVAL={{ etcd_heartbeat_interval }}
|
|
|
|
ETCD_INITIAL_CLUSTER_TOKEN=k8s_etcd
|
|
|
|
ETCD_LISTEN_PEER_URLS=https://{{ etcd_address }}:2380
|
|
|
|
ETCD_NAME={{ etcd_member_name }}
|
|
|
|
ETCD_PROXY=off
|
|
|
|
ETCD_INITIAL_CLUSTER={{ etcd_peer_addresses }}
|
2017-06-14 08:39:38 +00:00
|
|
|
ETCD_AUTO_COMPACTION_RETENTION={{ etcd_compaction_retention }}
|
2017-03-23 16:56:30 +00:00
|
|
|
|
|
|
|
# TLS settings
|
|
|
|
ETCD_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
|
|
|
|
ETCD_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
|
|
|
|
ETCD_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
|
2017-11-07 14:06:16 +00:00
|
|
|
ETCD_CLIENT_CERT_AUTH={{ etcd_secure_client | lower}}
|
|
|
|
|
2017-03-23 16:56:30 +00:00
|
|
|
ETCD_PEER_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
|
|
|
|
ETCD_PEER_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
|
|
|
|
ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
|
2018-01-11 18:07:43 +00:00
|
|
|
ETCD_PEER_CLIENT_CERT_AUTH={{ etcd_peer_client_auth }}
|