Unanswered
kubectl error: You must be logged in to the server (Unauthorized) after certificates renewal
Steps:
- kubeadm alpha certs check-expiration
- kubeadm alpha certs renew all
- kubeadm alpha certs check-expiration
- kubectl get pods --all-namespaces --> You must be logged in to the server (Unauthorized)
- cp /etc/kubernetes/admin.conf .kube/config
- reboot of all machines (masters and workers)!!!!!!!!!
12 Views
0
Answers
2 years ago
one year ago
Tags