|
|
@ -21,7 +21,7 @@ KUBELET_REGISTER_NODE="--register-node=false" |
|
|
|
{% endif %} |
|
|
|
# location of the api-server |
|
|
|
{% if dns_setup %} |
|
|
|
KUBELET_ARGS="--cluster_dns={{ dns_server }} --cluster_domain={{ dns_domain }} --kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --config={{ kube_manifest_dir }}" |
|
|
|
KUBELET_ARGS="--cluster_dns={{ dns_server }} --cluster_domain={{ dns_domain }} --kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --config={{ kube_manifest_dir }} --resolv-conf={{ kube_resolv_conf }}" |
|
|
|
{% else %} |
|
|
|
KUBELET_ARGS="--kubeconfig={{ kube_config_dir}}/kubelet.kubeconfig --config={{ kube_manifest_dir }}" |
|
|
|
{% endif %} |
|
|
|