【问题标题】:Which backends are consuming Google Container Engine Kubernetes Quotas哪些后端正在使用 Google Container Engine Kubernetes Quotas
【发布时间】:2017-05-29 18:48:55
【问题描述】:

我正在尝试在 Google Container Engine 上的 Kubernetes 上设置 Ingress,但遇到了超出配额的错误(请参阅下面的简短输出)。

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

我知道如何增加我的配额,但我的问题更具体:我怎样才能知道正在消耗哪些“后端”来贡献配额的使用?(然后我会想要看看我是否可以在需要时将它们关闭)。

【问题讨论】:

    标签: google-app-engine kubernetes google-cloud-platform google-kubernetes-engine


    【解决方案1】:

    根据this page

    gcloud compute backend-services list
    

    将列出所有集群中的所有后端服务。 就我而言,它列出了 6 个并与我报告的使用情况相匹配:

    gcloud compute project-info describe --project PROJECT_NAME
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-03-26
      • 2016-06-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多