首页 > 解决方案 > Gcloud 应用部署错误:“QUOTA_FOR_INSTANCES”

问题描述

我能够将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/..."

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

这也是我的app.yaml

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

编辑:

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

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

标签: node.jsdeploymentgcloud

解决方案


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

有一个公共问题跟踪器,您可以“加星标”并关注,以便您可以收到任何进一步的更新。此外,如果您同意您的偏好,您可能会看到一些可以临时执行的变通办法。

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

我希望这个信息帮助。


推荐阅读