From b4e0c5ecfb3125b1fbb235b1d381898d2b2a16d6 Mon Sep 17 00:00:00 2001 From: Chris Broadfoot Date: Tue, 13 Jun 2017 15:58:32 -0700 Subject: [PATCH] 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 --- cmd/tip/talks.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/cmd/tip/talks.yaml b/cmd/tip/talks.yaml index edc90a5a..24391a75 100644 --- a/cmd/tip/talks.yaml +++ b/cmd/tip/talks.yaml @@ -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