diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-02-12 17:34:34 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-02-12 17:34:34 +0100 |
commit | 55c839a863f2e4770b3762bd058e1144da1d7832 (patch) | |
tree | 7a0114f222e39a99f7ae802ce7bcba429e053bc9 /sys-cluster/kubelet/files/kubelet.service | |
parent | sys-cluster/kubectl: Version bump to 1.13.3 (diff) | |
download | gentoo-55c839a863f2e4770b3762bd058e1144da1d7832.tar.gz gentoo-55c839a863f2e4770b3762bd058e1144da1d7832.tar.bz2 gentoo-55c839a863f2e4770b3762bd058e1144da1d7832.zip |
sys-cluster/kubelet: Version bump to 1.13.3
Add systemd unitfile from
https://github.com/kubernetes/contrib/tree/master/init/systemd
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster/kubelet/files/kubelet.service')
-rw-r--r-- | sys-cluster/kubelet/files/kubelet.service | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-cluster/kubelet/files/kubelet.service b/sys-cluster/kubelet/files/kubelet.service new file mode 100644 index 000000000000..1082bbac1d0b --- /dev/null +++ b/sys-cluster/kubelet/files/kubelet.service @@ -0,0 +1,24 @@ +[Unit] +Description=Kubernetes Kubelet Server +Documentation=https://kubernetes.io/docs/concepts/overview/components/#kubelet https://kubernetes.io/docs/reference/generated/kubelet/ +After=docker.service +Requires=docker.service + +[Service] +WorkingDirectory=/var/lib/kubelet +EnvironmentFile=-/etc/kubernetes/config +EnvironmentFile=-/etc/kubernetes/kubelet +ExecStart=/usr/bin/kubelet \ + $KUBE_LOGTOSTDERR \ + $KUBE_LOG_LEVEL \ + $KUBELET_KUBECONFIG \ + $KUBELET_ADDRESS \ + $KUBELET_PORT \ + $KUBELET_HOSTNAME \ + $KUBE_ALLOW_PRIV \ + $KUBELET_ARGS +Restart=on-failure +KillMode=process + +[Install] +WantedBy=multi-user.target |