Browse Source

fix-bug (#1900)

pull/1902/head
tanshanshan 7 years ago
committed by Matthew Mosesohn
parent
commit
84d92aa3c7
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/node/templates/kubelet.kubeadm.env.j2

2
roles/kubernetes/node/templates/kubelet.kubeadm.env.j2

@ -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 %}

Loading…
Cancel
Save