Which backends are consuming Google Container Engine Kubernetes Quotas

落爺英雄遲暮 提交于 2019-12-24 06:41:32

问题


I am trying to setup an Ingress on Kubernetes on Google Container Engine and am getting quota exceeded errors (see abbrieviated output below).

Name:                   my-ingress
Address:
Default backend:        default-http-backend:80 (10.0.2.2:8080)
Rules:
  Host  Path    Backends
  ----  ----    --------
  *
        service1  service1:7010 (<none>)
        service2  service2:6884 (<none>)
Annotations:
  ssl-redirect: false
Events:
  FirstSeen  LastSeen  Count   From                       Type       Reason          Message
  ---------  --------  -----   ----                       --------   ------          -------
  21s        21s       1       loadbalancer-controller    Normal     ADD             reference/reference-ingress
  13s        3s        10      loadbalancer-controller    Warning    GCE :Quota      googleapi: Error 403: Quota 'BACKEND_SERVICES' exceeded. Limit: 5.0, quotaExceeded

I know how to increase my quotas, but my question is more specific: how can I tell which "backends" are being consumed that are contributing the usage of the quota? (I will then want to see if I may be able to turn them off if needed).


回答1:


According to this page:

gcloud compute backend-services list

will list all your backend services in all clusters. For my case, it lists 6 and match my usage reported by:

gcloud compute project-info describe --project PROJECT_NAME


来源:https://stackoverflow.com/questions/44248836/which-backends-are-consuming-google-container-engine-kubernetes-quotas

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!