Merge pull request #39721 from euank/rkt-api-restart

Automatic merge from submit-queue (batch tested with PRs 39731, 39662, 39721)

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.

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2017-01-11 11:00:52 -08:00 committed by GitHub
commit 04326905b8

View File

@ -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