mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
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.
This commit is contained in:
parent
14e322cc82
commit
eeef293ee2
@ -1191,6 +1191,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=${RKT_BIN} api-service --listen=127.0.0.1:15441
|
ExecStart=${RKT_BIN} api-service --listen=127.0.0.1:15441
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user