Kubernetes logo

Kubernetes starts responding with “You must be logged in to the server” error – how to fix it!

This is quite a simple one to fix and happens after the certificates have been updated. All you are required to do is go on the master nodes and run the following command:

sudo cp /etc/kubernetes/admin.conf ./.kube/config

You can copy this config file to other machines if you do things remotely.

Company Reviews

Leave a Reply