The zone X does not have enough resources

1/28/2019

Instance group attempting to create an instance, but can't, with this error:

The zone 'projects/myproject/zones/us-central1-f' does not have enough resources available to fulfill the request

How do I fix this, and is it something I should be expecting from GCE on regular basis?

Thanks

-- MeLight
google-cloud-platform
google-kubernetes-engine

1 Answer

1/28/2019

In some rare occasions, some zones might not have enough resources available to fullfill a request. This is done to ensure that there are enough resources in each zone, to ensure that already installed users have enough of them to keep running their applications.

This type of issues are immediately noticed, and currently this is being investigated. For the moment, you can try to do one the following points:

  1. Keep trying to do the deployment until the zone has enough resources.

  2. Relax the requirements of the instance you are creating ( i.e. less CPU/Disk/Memory...)

  3. Try to deploy to another zone within the same region, for example deploy to us-central1-a. You can see the full list of available zones/regions in this documentation

I would recommend you to go for the third option, as you will be able to create the instances immediately, with the resources you need, and you probably won't be affected by the zone change.

-- Joan Grau Noël
Source: StackOverflow