Encountering issues with the second etcd controller not starting

Issue: I have successfully deployed Kubernetes control plane components up to the bootstrapping stage, but only one of the two expected etcd servers is online.

Problem: Why is the second etcd server not came up

Can anyone pls help to understand where is the issue.

Don’t use componentstatuses – it’s obsolete, for exactly this use case: it can’t deal with multiple instances of components like etcd. Instead, do this:

kubectl get --raw='/readyz?verbose'

Hi Rob,

I have seen your earlier reply on another thread and tried that but getting below error:

API server running on 6443 port.

Did you create a kubeconfig file on that host? That’s the most likely cause of that error.

I don’t know how you’re setting up your multi-master cluster, but make sure you can set up a cluster with a single controlplane node before you try an HA install. The other possibility, if you’re using kubeadm install, is that you’ve misconfigured containerd. Make sure you know how to debug that kind of problem before complicating things with multiple controlplane nodes.