k3s_setup/roles/etcd/templates/defaults-etcd.j2

11 lines
523 B
Plaintext
Raw Normal View History

2019-12-18 18:36:30 +00:00
ETCD_NAME="{{ansible_nodename}}"
ETCD_DATA_DIR="/var/lib/etcd"
ETCD_LISTEN_PEER_URLS="http://{{wg_ip}}:2380"
ETCD_LISTEN_CLIENT_URLS="http://{{wg_ip}}:2379"
ETCD_INITIAL_ADVERTISE_PEER_URLS="http://{{ansible_nodename}}:2380"
ETCD_INITIAL_CLUSTER="node01=http://10.23.23.11:2380,node02=http://10.23.23.12:22380,node03=http://10.23.23.13:32380"
ETCD_INITIAL_CLUSTER_STATE="new"
ETCD_INITIAL_CLUSTER_TOKEN="{{etcd_cluster_token}}"
ETCD_ADVERTISE_CLIENT_URLS="http://{{ansible_nodename}}:2379"
ETCD_AUTO_COMPACTION_RETENTION=3