BACKEND_SERVICES exceeded in Google Kubernetes Engine

7/30/2021

I'm having the problem described here:

https://stackoverflow.com/questions/46450415/googleapi-error-403-quota-backend-services-exceeded-limit-9-0-quotaexceed

Warning
GCE googleapi: Error 403: Quota 'BACKEND_SERVICES' exceeded.
Limit: 9.0, quotaExceeded

We are pretty new to GKE, we created some services using this template-like (helm's default)

apiVersion: v1
kind: Service
metadata:
  name: "monolito"
spec:
  type: ClusterIP
  ports:
    - port: 80
      targetPort: 80
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: "monolito"
    app.kubernetes.io/instance: "monolito"

And we added some other services that we have currently deployed in a VM / App Engine.

We don't understand why this quota exists. Are we doing something wrong? Isn't it normal to have more than 10 services when doing Kubernetes / microservices approach? Do we need the load balancers that are passing the quota?

-- JorgeeFG
gke-networking
google-cloud-platform
google-kubernetes-engine
kubernetes

0 Answers