From ba41d3ee55a805f53dd7c0837b39a9463ed8e707 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 bbb13bc9d..65feeee65 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 }}