It works with this format below:
instance_class: B1
basic_scaling:
max_instances: 11
idle_timeout: 10m
or
basic_scaling:
max_instances: 11
idle_timeout: 10m
instance_class: B1
You misconfigured the app.yaml, the instance_class
is not under the basic_scaling
attribute.
UPDATE:
If you deploy the app.yaml with comment on the element of instance_class: B1
:
#instance_class: B1
basic_scaling:
max_instances: 11
idle_timeout: 10m
it will result to default which is instance_class: B2
. Then if you also add comment on the max_instances: 11
and idle_timeout: 10m
:
#instance_class: B1
basic_scaling:
#max_instances: 11
#idle_timeout: 10m
it will deploy your app engine into instance_class: F1
and automatic_scaling
.
If you include an actual screenshot of the error in your answer, it can help us to determine the issue.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…