brew install kubernetes-cli
Open the cloud console UI, and navigate to "clusters" tab.
You will present with popup that displays command with exact parameters of the specific cluster
Note: if you already logged with different account - run "gcloud auth revoke --all"
and then: "gcloud auth login"
Now you can run the command in the console. It may happen you will be prompted with chrome asking for cloud credentials. After you get logged in, you can verify that you are in the correct cluster by, for example, checking for pods status:
kubectl get pods
No comments:
Post a Comment