I'm running the following command and getting an error:
$ kubectl get nodes
error: You must be logged in to the server (the server has asked for the client to provide credentials)
What's going on?
You have to run:
$ gcloud container clusters get-credentials [cluster-name]
Docs here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With