node.js - 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/..."
到目前为止我尝试了什么:
我试图登记
Quotas
但IAM & Admin
找不到我的服务或没有服务超过或不接近 8 限制。我试图扩大一些services
但对我不起作用。我启用了付款。
这也是我的app.yaml
runtime: nodejs
env: flex
skip_files:
- ^node_modules/.*$
编辑:
我通过更新 app.yaml 文件解决了这个问题:
runtime: nodejs
env: standard
skip_files:
- ^node_modules/.*$
解决方案
Google App Engine 产品团队已经意识到这个问题,目前正在调查中。
有一个公共问题跟踪器,您可以“加星标”并关注,以便您可以收到任何进一步的更新。此外,如果您同意您的偏好,您可能会看到一些可以临时执行的变通办法。
目前,该解决方案还没有预计到达时间,但一旦团队在该问题上取得进展,就会提供更新。
我希望这个信息帮助。
推荐阅读
- javascript - 对象解构 eslint 抛出 react/prop-types
- android - 在列表中
users = [] ------ 未处理的异常:类型 '(dynamic) => Null' 不是类型 '(String, dynamic) => void' of 'f' 的子类型 - java - 使用 WebClient 的 Spring Cloud Function AWS Lambda
- c++ - 如何将任何大小的位集拆分为 64 位位集列表?
- extjs - Tagfield ExtJS 中的排序标签
- python - How to update label text in .kv using properties in .py?
- javascript - 如何获取参数 Discord.js 的某些字母
- ruby-on-rails - 我可以在 Rails 的 I18n 语言环境文件中使用嵌入式 Ruby 吗?
- nginx - 关闭终端窗口、gunicorn、flask、ec2、aws 后,某些路由无法正常工作
- python - pyvis 图形重叠或不显示标签