From d3ea13b3f0109842367be97c6013b1442d729273 Mon Sep 17 00:00:00 2001 From: jwfang <54740235@qq.com> Date: Tue, 20 Jun 2017 10:54:02 +0800 Subject: [PATCH] kube-proxy use kubeconfig on kube-master --- .../kubernetes/node/templates/manifests/kube-proxy.manifest.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2 b/roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2 index d28621cfd..847290d9e 100644 --- a/roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2 +++ b/roles/kubernetes/node/templates/manifests/kube-proxy.manifest.j2 @@ -25,10 +25,7 @@ spec: - /hyperkube - proxy - --v={{ kube_log_level }} - - --master={{ kube_apiserver_endpoint }} -{% if not is_kube_master %} - --kubeconfig={{kube_config_dir}}/kube-proxy-kubeconfig.yaml -{% endif %} - --bind-address={{ ip | default(ansible_default_ipv4.address) }} - --cluster-cidr={{ kube_pods_subnet }} - --proxy-mode={{ kube_proxy_mode }}