зеркало из https://github.com/golang/build.git
cmd/tip: manually scale talks to 1 instance
Disable health checker - it only causes trouble if we're running on one instance. We'd rather see "starting up" than to have nothing served and the instance killed when it doesn't come up ready in time. Change-Id: I3396c626f840d606e0fb4a5ec4c0493195fd015f Reviewed-on: https://go-review.googlesource.com/45654 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
0f5fc73c73
Коммит
109563a91d
|
@ -1,18 +1,12 @@
|
|||
module: talks
|
||||
service: talks
|
||||
runtime: custom
|
||||
vm: true
|
||||
env: flex
|
||||
|
||||
automatic_scaling:
|
||||
min_num_instances: 1
|
||||
max_num_instances: 5
|
||||
manual_scaling:
|
||||
instances: 1
|
||||
|
||||
env_variables:
|
||||
TIP_BUILDER: 'talks'
|
||||
|
||||
health_check:
|
||||
enable_health_check: True
|
||||
check_interval_sec: 5
|
||||
timeout_sec: 4
|
||||
unhealthy_threshold: 2
|
||||
healthy_threshold: 2
|
||||
restart_threshold: 240
|
||||
enable_health_check: False
|
||||
|
|
Загрузка…
Ссылка в новой задаче