【发布时间】:2018-01-29 20:50:35
【问题描述】:
我正在使用 app.yaml 文件来灵活配置我的应用引擎。该文件如下所示,
runtime: java
env: flex
service: hello-service
health_check:
enable_health_check: True
check_interval_sec: 10
timeout_sec: 4
unhealthy_threshold: 2
healthy_threshold: 2
automatic_scaling:
min_num_instances: 3
max_num_instances: 10
cool_down_period_sec: 120 # default value
cpu_utilization:
target_utilization: 0.5
但是,当我点击云控制台中版本列表的“查看”链接时,我只能在弹出窗口中看到以下内容,
runtime: java
env: flexible
threadsafe: true
automatic_scaling:
min_num_instances: 3
max_num_instances: 10
health_check:
enable_health_check: true
check_interval_sec: 10
timeout_sec: 4
unhealthy_threshold: 2
healthy_threshold: 2
如您所见,它缺少一些“自动缩放”属性。我不确定为什么。我是否需要停止并启动相关版本才能看到更改?
【问题讨论】:
标签: google-app-engine configuration