GKE: Insufficient regional quota to satisfy request: resource "IN_USE_ADDRESSES"

11/19/2019

I'm trying to create a GKE cluster using:

gcloud container clusters create mycluster --region europe-west1

but I'm having an error:

ERROR: (gcloud.container.clusters.create) ResponseError: code=403, message=Insufficient regional quota to satisfy request: resource "IN_USE_ADDRESSES": request requires '9.0' and is short '1.0'. project has a quota of '8.0' with '8.0' available. View and manage quotas at https://console.cloud.google.com/iam-admin/quotas?usage=USED&project=myproject-xxxx.

It seems that there's a problem with the limit of the resource IN_USE_ADDRESSES. This is weird because the project is new therefore I don't have any resource except the cluster I want to crate. I have a second project in which I deployed a postgres DB. Nothing more.

When I visit the quota page, it seems that I didn't exceed any limit.

enter image description here

Your help will be appreciated.

-- 4m1nh4j1
google-cloud-platform
google-kubernetes-engine

2 Answers

11/19/2019

IN_USE_ADDRESSES means both static and ephemeral IP addresses. To create your cluster requires a total of 9 (which includes all of your services in the region) but your quota only allows for 8 addresses total.

Solution: Request a quota increase. Follow this link to understand how to request a quota link. A quota increase is requested in the Google Cloud Console. Tip: Increase both global and regional. This will cover load balancers in the future (and other services that use Global IP addresses).

-- John Hanley
Source: StackOverflow

4/6/2020

I had this same problem, by default the number of nodes created by the gcloud container clusters create command is 3 and it seems there is 3 static address allocated for each node.

If you really don't need all those static addresses you can specify 2 nodes which should only allocate 6 static addresses via the --num-nodes switch eg.

gcloud container clusters create <cluster-name> --num-nodes=2

-- redbandit
Source: StackOverflow