【问题标题】:Gcloud App Deploy Error: 'QUOTA_FOR_INSTANCES'Gcloud 应用部署错误:“QUOTA_FOR_INSTANCES”
【发布时间】:2020-05-28 05:41:24
【问题描述】:

我能够将node.js 项目部署到gcloud,但现在我得到了这个error

Flex operation projects/.../regions/.../operations/
error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>...: Deployment Manager operation .../operation-...

message: "{\"ResourceType\":\"compute.beta.regionAutoscaler\",\"ResourceErrorCode\":\"403\",\"ResourceErrorMessage\":{\"code\":403,\"errors\":[{\"domain\":\"usageLimits\",\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \'...\'. Limit: 8.0\",\"reason\":\"limitExceeded\"}],\"message\":\"Exceeded limit \'QUOTA_FOR_INSTANCES\' on resource \...\'. 
Limit: 8.0\",\"statusMessage\":\"Forbidden\",\"requestPath\":\"https://compute.googleapis.com/compute/beta/projects/.../regions/.../autoscalers\",\"httpMethod\":\"POST\"}}" ]
errors: [code: "RESOURCE_ERROR" location: "/deployments/..."

到目前为止我尝试了什么:

  • 我尝试在IAM & Admin 中检查Quotas,但找不到我的服务或没有服务超过或不接近8 限制。我尝试扩大一些 services 但对我不起作用。

  • 我启用了付款。

还有我的app.yaml

runtime: nodejs
env: flex
skip_files:
  - ^node_modules/.*$

编辑:

我通过更新 app.yaml 文件解决了这个问题:

runtime: nodejs
env: standard
skip_files:
  - ^node_modules/.*$

【问题讨论】:

    标签: node.js deployment gcloud


    【解决方案1】:

    Google App Engine 产品团队已经意识到这个问题,目前正在调查中。

    有一个Public Issue Tracker,您可以“加注星标”并关注,以便您可以收到有关此的任何进一步更新。此外,如果您同意您的偏好,您可能会看到一些可以临时执行的解决方法。

    目前,该解决方案还没有预计到达时间,但一旦团队在该问题上取得进展,就会提供更新。

    我希望这些信息对您有所帮助。

    【讨论】:

      猜你喜欢
      • 2016-06-04
      • 1970-01-01
      • 1970-01-01
      • 2020-01-14
      • 1970-01-01
      • 2016-01-20
      • 2017-01-24
      • 2023-03-27
      • 2018-02-23
      相关资源
      最近更新 更多