|
|
@ -69,3 +69,18 @@ dns_domain: "{{ cluster_name }}" |
|
|
|
# |
|
|
|
# # Ip address of the kubernetes dns service |
|
|
|
dns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(253)|ipaddr('address') }}" |
|
|
|
|
|
|
|
# For multi masters architecture: |
|
|
|
# kube-proxy doesn't support multiple apiservers for the time being so you'll need to configure your own loadbalancer |
|
|
|
# This domain name will be inserted into the /etc/hosts file of all servers |
|
|
|
# configurationexample with haproxy : |
|
|
|
# lissten kubernetes-apiserver-https |
|
|
|
# bind 10.99.0.21:8383 |
|
|
|
# option ssl-hello-chk |
|
|
|
# mode tcp |
|
|
|
# timeout client 3h |
|
|
|
# timeout server 3h |
|
|
|
# server master1 10.99.0.26:443 |
|
|
|
# server master2 10.99.0.27:443 |
|
|
|
# balance roundrobin |
|
|
|
apiserver_loadbalancer_domain_name: "lb-apiserver.kubernetes.local" |