{%- from "kubernetes/map.jinja" import pool with context %} | |
# This host's IPv4 address (the source IP address used to reach other nodes | |
# in the Kubernetes cluster). | |
DEFAULT_IPV4={{ pool.address }} | |
# The Kubernetes master IP | |
KUBERNETES_MASTER={{ pool.master.host }} | |
# IP and port of etcd instance used by Calico | |
ETCD_ENDPOINTS={% for member in pool.network.etcd.members %}http://{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{% endfor %} |