salt: Don't stop trying to start kubelet
Tell systemd to keep trying to restart kubelet without limit. Without this change at some stage systemd will stop trying to restart kubelet and mark it failed. These are the settings we're using elsewhere (e.g. Docker)
This commit is contained in:
@@ -6,6 +6,8 @@ Documentation=https://github.com/kubernetes/kubernetes
|
||||
EnvironmentFile=/etc/sysconfig/kubelet
|
||||
ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS"
|
||||
Restart=always
|
||||
RestartSec=2s
|
||||
StartLimitInterval=0
|
||||
KillMode=process
|
||||
|
||||
[Install]
|
||||
|
Reference in New Issue
Block a user