I'm using nodejs flexible environment documented here
Nothing fancy in the config
runtime: nodejs
vm: true
service: SimpleExpressService
health_check:
enable_health_check: False
automatic_scaling:
min_num_instances: 1
max_num_instances: 4
cool_down_period_sec: 120
cpu_utilization:
target_utilization: 0.5
Here is my deployment command
gcloud app deploy -q --promote --version $VER
Whenever I deploy a new version, almost everything goes really fast. However, the step 'Updating service [SimpleExpressServer]' takes several minutes.
Is there anyway to optimize this step?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…