Hi @ranjit.mandre,
To get a proper assistance, can you please provide the following details onwards?
a.) Where are you trying this? If it’s in our lab then LAB URL would be helpful.
b.) What command did you run?
c.) If possible, pls provide an error screenshot.
Fix kube-apiserver. Make sure its running and healthy.
kubeconfig = /root/.kube/config, User = ‘kubernetes-admin’ Cluster: Server Port = ‘6443’
a.) Where are you trying this? If it’s in our lab then LAB URL would be helpful.
yes its a LAB environment
b.) What command did you run?
systemctl restart kubelet.service and changed the port from controlplane:6433 to controlplane:6443
c.) If possible, pls provide an error screenshot.
I have fixed now
ls: cannot access ‘/etc/kubernetes/pki/ca-authority.crt’: No such file or directory
root@ ➜ kubectl get nodes
NAME STATUS ROLES AGE VERSION
controlplane Ready control-plane,master 34m v1.23.0
node01 Ready,SchedulingDisabled 33m v1.23.0