kube-proxy use kubeconfig on kube-master
This commit is contained in:
parent
d742a3953c
commit
d3ea13b3f0
1 changed files with 0 additions and 3 deletions
|
@ -25,10 +25,7 @@ spec:
|
||||||
- /hyperkube
|
- /hyperkube
|
||||||
- proxy
|
- proxy
|
||||||
- --v={{ kube_log_level }}
|
- --v={{ kube_log_level }}
|
||||||
- --master={{ kube_apiserver_endpoint }}
|
|
||||||
{% if not is_kube_master %}
|
|
||||||
- --kubeconfig={{kube_config_dir}}/kube-proxy-kubeconfig.yaml
|
- --kubeconfig={{kube_config_dir}}/kube-proxy-kubeconfig.yaml
|
||||||
{% endif %}
|
|
||||||
- --bind-address={{ ip | default(ansible_default_ipv4.address) }}
|
- --bind-address={{ ip | default(ansible_default_ipv4.address) }}
|
||||||
- --cluster-cidr={{ kube_pods_subnet }}
|
- --cluster-cidr={{ kube_pods_subnet }}
|
||||||
- --proxy-mode={{ kube_proxy_mode }}
|
- --proxy-mode={{ kube_proxy_mode }}
|
||||||
|
|
Loading…
Reference in a new issue