kubeasz/roles/calico/vars/main.yml

4 lines
195 B
YAML
Raw Normal View History

2020-12-25 11:53:00 +08:00
# etcd 集群服务地址列表, 根据etcd组成员自动生成
TMP_ENDPOINTS: "{% for h in groups['etcd'] %}https://{{ h }}:2379,{% endfor %}"
ETCD_ENDPOINTS: "{{ TMP_ENDPOINTS.rstrip(',') }}"