mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
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:
parent
39e3c986cc
commit
a5f8e34a9a
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user