Asking for help? Comment out what you need so we can get more information to help you!
Kubernetes version: 1.14
Cloud being used: bare-metal
Installation method: kubeadm
Host OS: RHEL 7.7
CNI and version: Calico
CRI and version: Docker 18.03
I am Installing a standalone kubernetes cluster (kubeadm version is 1.14) on RHEL 7.7 Operating System. I have got a Load Balancer (Private LB with a private IP address) configured for my Kubernetes master node. When I issued the command
kubeadm init --apiserver-advertise-address= I got the below error:
Unable to register node “master node name” with API Server. write tcp “IP address of masternode”:<52444>–“IP address of LB”:6443. Connection reset by peer.
If I issue only kubeadm init, the command successfully initiates the cluster.
Also, If I use the DNS of the LB and try to create a multi-plane cluster (using controlPlaneEndpoint as DNS of the LB), that also works. Any idea on why only with the --apiserver-advertise-address it fails?
Also, what if I use the method of creating a multi-plane cluster (controlPlaneEndpoint) but use the cluster that is built as a standalone cluster? (i.e., not adding any further master nodes). Will it cause any issues?
Thanks & Regards