Browse Source

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 4 years ago
committed by GitHub
parent
commit
c47f441b13
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/kubernetes/kubeadm/tasks/main.yml

1
roles/kubernetes/kubeadm/tasks/main.yml

@ -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

Loading…
Cancel
Save