哪些后端正在消耗Google Container Engine Kubernetes配额 [英] Which backends are consuming Google Container Engine Kubernetes Quotas
问题描述
我正在尝试在Google Container Engine上的Kubernetes上设置一个Ingress,并且遇到配额超出错误(请参见下面的缩写输出).
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).
推荐答案
根据将列出所有群集中的所有后端服务. 对于我的情况,它列出了6个,并且与以下人员报告的使用情况相符:
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
这篇关于哪些后端正在消耗Google Container Engine Kubernetes配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!