kubernetes-the-hard-way-on-azure icon indicating copy to clipboard operation
kubernetes-the-hard-way-on-azure copied to clipboard

kubectl and kube-proxy unable to connect to load balancer in 09-bootstrapping-kubernetes-workers

Open PierreAdrienPonthieu opened this issue 3 years ago • 0 comments

When executing kubectl get nodes no ressources were found. After investigation of logs using journalctl -fu kube-proxy and journalctl -fu kube-proxy it turned out it was due to the missing IP of the load balancer (processes were trying to make connection to https://:6443 instead of http://${LOAD_BALANCER_IP}:6443). I had to modify the address in the server section of /var/lib/kubelet/kubeconfig and /var/lib/kube-proxy/kubeconfig

PierreAdrienPonthieu avatar Nov 12 '21 17:11 PierreAdrienPonthieu