Use host IP instead of localhost for control plane component kubeconfig files.

This is a part of work to allow control plane components to be moved off hostNetwork.
This commit is contained in:
Ben Hu
2020-09-30 23:06:37 +00:00
parent a8a779133a
commit 49afcfa5f2
3 changed files with 14 additions and 1 deletions

View File

@@ -529,3 +529,6 @@ export ENABLE_CSI_PROXY="${ENABLE_CSI_PROXY:-true}"
# in addition to listening to 127.0.0.1, and whether kube-apiserver should connect to etcd servers
# through host IP.
export ETCD_LISTEN_ON_HOST_IP="${ETCD_LISTEN_ON_HOST_IP:-false}"
# Use host IP instead of localhost in control plane kubeconfig files.
export KUBECONFIG_USE_HOST_IP="${KUBECONFIG_USE_HOST_IP:-false}"