You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.0 KiB

8 years ago
  1. ETCD_DATA_DIR=/var/lib/etcd
  2. ETCD_ADVERTISE_CLIENT_URLS={{ etcd_client_url }}
  3. ETCD_INITIAL_ADVERTISE_PEER_URLS={{ etcd_peer_url }}
  4. ETCD_INITIAL_CLUSTER_STATE={% if etcd_cluster_is_healthy.rc != 0 | bool %}new{% else %}existing{% endif %}
  5. ETCD_LISTEN_CLIENT_URLS=https://{{ etcd_address }}:2379,https://127.0.0.1:2379
  6. ETCD_ELECTION_TIMEOUT={{ etcd_election_timeout }}
  7. ETCD_HEARTBEAT_INTERVAL={{ etcd_heartbeat_interval }}
  8. ETCD_INITIAL_CLUSTER_TOKEN=k8s_etcd
  9. ETCD_LISTEN_PEER_URLS=https://{{ etcd_address }}:2380
  10. ETCD_NAME={{ etcd_member_name }}
  11. ETCD_PROXY=off
  12. ETCD_INITIAL_CLUSTER={{ etcd_peer_addresses }}
  13. # TLS settings
  14. ETCD_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
  15. ETCD_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
  16. ETCD_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
  17. ETCD_PEER_TRUSTED_CA_FILE={{ etcd_cert_dir }}/ca.pem
  18. ETCD_PEER_CERT_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}.pem
  19. ETCD_PEER_KEY_FILE={{ etcd_cert_dir }}/member-{{ inventory_hostname }}-key.pem
  20. ETCD_PEER_CLIENT_CERT_AUTH=true