fix kube-proxy server address when local apiserver lb is disabled (#5730)

refs #5277

As the issue describes, when no external or local load-balanced is used,
kube-proxy won't be able to contact apiserver at 127.0.0.1. So the
config map should be left as is.
This commit is contained in:
Xiaodu 2020-03-13 01:40:39 +08:00 committed by GitHub
parent 7c854a18bb
commit c47f441b13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,7 @@
- kubeadm_config_api_fqdn is not defined - kubeadm_config_api_fqdn is not defined
- kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "") - kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "")
- not kube_proxy_remove - not kube_proxy_remove
- loadbalancer_apiserver_localhost
tags: tags:
- kube-proxy - kube-proxy