Commit a5f8e34a authored by Justin Santa Barbara's avatar Justin Santa Barbara

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)
parent 39e3c986
...@@ -6,6 +6,8 @@ Documentation=https://github.com/kubernetes/kubernetes ...@@ -6,6 +6,8 @@ Documentation=https://github.com/kubernetes/kubernetes
EnvironmentFile=/etc/sysconfig/kubelet EnvironmentFile=/etc/sysconfig/kubelet
ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS" ExecStart=/usr/local/bin/kubelet "$DAEMON_ARGS"
Restart=always Restart=always
RestartSec=2s
StartLimitInterval=0
KillMode=process KillMode=process
[Install] [Install]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment