【发布时间】:2021-11-13 12:04:40
【问题描述】:
我们如何在 app.yaml 中为 Python 运行时设置资源? 当它到达资源部分时,下面给了我一个错误。但是,如果我选择 nodejs14 作为运行时,它可以工作
runtime: python27
api_version: 1
threadsafe: true
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 1
env_variables:
NODE_ENV: 'production'
【问题讨论】:
标签: python runtime gcloud app.yaml