Created
March 22, 2022 14:15
-
-
Save developer-guy/ed79064841f8619027b383bcf10333bc to your computer and use it in GitHub Desktop.
create gke cluster with workload identity enabled
This file contains hidden or 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
$ export PROJECT_ID=$(gcloud config get-value project) | |
$ export CLUSTER_NAME="gke-wif" | |
$ gcloud container clusters create $CLUSTER_NAME \ | |
--workload-pool=$PROJECT_ID.svc.id.goog --num-nodes=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment