-
-
Save edude03/4150edf83c4f104dbb75c57473de63f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download and save the service account json file somewhere, in this example, it's `sa.json` | |
# "login" using the service account | |
gcloud auth activate-service-account - key-file=sa.json | |
# Run get credentials | |
gcloud container clusters get-credentials | |
# Test that it works | |
kubectl get pods -n staging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment