Automatic scaling
This commit is contained in:
parent
abd78ed398
commit
c33c634346
6
app.yaml
6
app.yaml
@ -2,8 +2,10 @@ runtime: nodejs
|
|||||||
env: flex
|
env: flex
|
||||||
|
|
||||||
# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
|
# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
|
||||||
manual_scaling:
|
automatic_scaling:
|
||||||
instances: 1
|
min_num_instances: 1
|
||||||
|
max_num_instances: 4
|
||||||
|
cool_down_period_sec: 180
|
||||||
resources:
|
resources:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory_gb: 0.5
|
memory_gb: 0.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user