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:
Justin Santa Barbara 2016-09-15 14:22:27 -04:00
parent 39e3c986cc
commit a5f8e34a9a

View File

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