Other Master Nodes Add to the Cluster After Reset Error: CONTEXT DEADLINE EXCEEDED

[[email protected] ~]# kubectl get po,svc -n kube-system -o wide

[[email protected] ~]# kubectl exec -it -n kube-system etcd-k8s-master01 sh
# export ETCDCTL_API=3

# alias etcdctl='etcdctl --endpoints= --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/server.crt --key=/etc/kubernetes/pki/etcd/server.key'

# etcdctl member list
3a67291a5caf7ac3, started, k8s-master01,,
bae945fddfb47140, started, k8s-master02,,
8603a002380ffd4e, started, k8s-master03,,

--Delete the bad master03 node.
# etcdctl member remove 8603a002380ffd4e

# reset join.

Similar Posts: