2016-01-19 22:23:19 +08:00
|
|
|
---
|
2017-03-04 04:30:37 +08:00
|
|
|
# Set to false to only do certificate management
|
|
|
|
etcd_cluster_setup: true
|
|
|
|
|
2017-06-27 21:12:34 +08:00
|
|
|
etcd_backup_prefix: "/var/backups"
|
2016-01-19 22:23:19 +08:00
|
|
|
etcd_bin_dir: "{{ local_release_dir }}/etcd/etcd-{{ etcd_version }}-linux-amd64/"
|
2017-02-24 22:58:54 +08:00
|
|
|
etcd_data_dir: "/var/lib/etcd"
|
2016-11-09 18:44:41 +08:00
|
|
|
|
|
|
|
etcd_config_dir: /etc/ssl/etcd
|
|
|
|
etcd_cert_dir: "{{ etcd_config_dir }}/ssl"
|
2017-02-06 20:58:54 +08:00
|
|
|
etcd_cert_group: root
|
2016-11-09 18:44:41 +08:00
|
|
|
|
|
|
|
etcd_script_dir: "{{ bin_dir }}/etcd-scripts"
|
2016-12-23 22:44:44 +08:00
|
|
|
|
2017-02-07 22:46:02 +08:00
|
|
|
etcd_heartbeat_interval: "250"
|
|
|
|
etcd_election_timeout: "5000"
|
|
|
|
|
2016-12-23 22:44:44 +08:00
|
|
|
# Limits
|
|
|
|
etcd_memory_limit: 512M
|
2017-02-07 22:46:02 +08:00
|
|
|
|
|
|
|
# Uncomment to set CPU share for etcd
|
|
|
|
#etcd_cpu_limit: 300m
|
2017-02-09 05:41:36 +08:00
|
|
|
|
|
|
|
etcd_node_cert_hosts: "{{ groups['k8s-cluster'] | union(groups.get('calico-rr', [])) }}"
|
2017-06-14 16:39:38 +08:00
|
|
|
|
|
|
|
etcd_compaction_retention: "0"
|