7

I have scripts that build up and tear down clusters on Google Cloud Platform. After running these scripts several times without error, I am now unable to run the script to build up a cluster, receiving the message 'Insufficient regional quota to satisfy request for resource: "CPUS". The request requires '4.0' and is short '12.0'. The regional quota is '8.0' with '-8.0' available.' I do not see in the console any residual VMs that may have not been deleted. Is there a place where I can see my quotas and the VMs that are debited against that quota? Or perhaps there is some other resource that is being identified as "CPUS" other then VM? The line in the script that causes the error is:

$ gcloud container clusters create "server-cluster" \
  --machine-type "n1-standard-1" \
  --scope "https://www.googleapis.com/auth/compute","https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring" \
  --num-nodes "4" \
  --network $NETWORK \
  --enable-cloud-logging \
  --enable-cloud-monitoring
  • You can check the quota information using gcloud. For more information you can refer to this link. Thanks – Faizan Nov 3 '16 at 21:12
8

You can check the quota information for a project using the Quota page or through the following gcloud command:

 gcloud compute project-info describe --project myproject

More information can be found this link.

  • 1
    What is the action to take if it is or is not a quota issue? – Kato Jul 17 '18 at 16:11
  • If its a quota issue you can request for more quotas. – Faizan Jul 17 '18 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.