When try to create the GKE cluster using code
gcloud container clusters create $CLUSTER_NAME \
--project=$PROJECT_ID \
--release-channel=stable \
--cluster-version=1.21.12-gke.1500 \
--machine-type=n1-standard-4 \
--scopes compute-rw,gke-default,storage-rw \
--num-nodes=3
I encountered the following error
statusMessage: “Google Compute Engine: Not all instances running in IGM after 19.806393899s. Expected 3, running 0, transitioning 3. Current errors: [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-5bxj’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.; [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-t8gd’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.; [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-zqr6’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.”
targetLink: ‘https://container.googleapis.com/v1/projects/111040201854/zones/us-central1-f/clusters/cluster-1’
zone: ‘us-central1-f’>] finished with error: Google Compute Engine: Not all instances running in IGM after 19.806393899s. Expected 3, running 0, transitioning 3. Current errors: [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-5bxj’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.; [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-t8gd’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.; [GCE_STOCKOUT]: Instance ‘gke-cluster-1-default-pool-81c69452-zqr6’ creation failed: The zone ‘projects/qwiklabs-gcp-01-c9ee07d66745/zones/us-central1-f’ does not have enough resources available to fulfill the request. Try a different zone, or try again later.
Tried several times still have this problem.
07/08/2022