|
|
@ -46,7 +46,7 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}" |
|
|
|
{% if dns_mode == 'kubedns' %} |
|
|
|
{% set kubelet_args_cluster_dns %}--cluster-dns={{ skydns_server }}{% endset %} |
|
|
|
{% elif dns_mode == 'dnsmasq_kubedns' %} |
|
|
|
{% set kubelet_args_cluster_dns %}--cluster-dns={{ dns_server }}{% endset %} |
|
|
|
{% set kubelet_args_cluster_dns %}--cluster-dns={{ dnsmasq_dns_server }}{% endset %} |
|
|
|
{% else %} |
|
|
|
{% set kubelet_args_cluster_dns %}{% endset %} |
|
|
|
{% endif %} |
|
|
|