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.
pull/5763/head
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
1 changed files with 1 additions and 0 deletions

View File

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