From eeef293ee27a743ea1099bbb8b0b6f2b1c0f116c Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Wed, 11 Jan 2017 00:25:14 -0800 Subject: [PATCH] container-linux: restart rkt-api on failure This works around a flake I saw which had the same root cause as https://github.com/coreos/rkt/issues/3513. This will potentially help reduce the impact of such future problems as well. --- cluster/gce/container-linux/configure-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/gce/container-linux/configure-helper.sh b/cluster/gce/container-linux/configure-helper.sh index a3caaf6ea16..28b9e05b66b 100755 --- a/cluster/gce/container-linux/configure-helper.sh +++ b/cluster/gce/container-linux/configure-helper.sh @@ -1191,6 +1191,7 @@ After=network.target [Service] ExecStart=${RKT_BIN} api-service --listen=127.0.0.1:15441 +Restart=on-failure [Install] WantedBy=multi-user.target