Solution for getting Unable to connect to the server: x509: certificate signed by unknown authority inside google cloud shell
is Given Below:
When running commands inside google cloud shell, I’m receiving this error “Unable to connect to the server: x509: certificate signed by unknown authority” I’ve read that running
gcloud container clusters get-credentials YOURCLUSTERHERE --zone YOURCLUSTERZONEHERE can solve this issue, but is this necessary when you are using an authorized google cloud shell session?
I run into this error when trying to run any
kubectl command against my only cluster in the current project