Reputation: 33
Recently we've attempted to a add a new ingress and encountered this error.
QUOTA_EXCEEDED - Quota 'IN_USE_ADDRESSES' exceeded. Limit: 8.0 globally.
Heading over to the IAM -> Quota page we observed that 'In-use IP addresses global' was indeed 8 out of 8.
Next we wanted to know where we were using these IP addresses. Heading over to VPC network -> External IP addresses only 6 were listed; 4 assigned to k8s forwarding rules and 2 assigned to our two k8s nodes.
Our question; where are the other to 'In-use IP addresses global' being consumed?
Upvotes: 3
Views: 2999
Reputation: 816
As @johnhanley reported that would allow you to see in-use IP addresses.
gcloud compute addresses list --global
Check also External IP addresses quota, in order to understand how these limits work.
Please be aware of the starred section:
Note: If the same IP address is assigned to more than one forwarding rule, Google Cloud counts and adds each usage of the address towards the IN_USE_ADDRESSES quota rather than a unique count of IP address objects that are used.
To view the current quota limits, from Google Cloud Console navigate to :
IAM & Admin -> Quotas -> Service (Compute Engine API) -> Metric(In-use IP addresses)
You can filter by the location preferred if you choose to. You can request to increase the quota, please be sure to provide a justification for the number you decide to enter for the new quota.
Upvotes: 3