
Some distros, include RHEL and Fedora, are doing away with the docker socket by default in systemd units, for security reasons. Instead rely on the docker.service being started instead of socket activation.
23 lines
552 B
Desktop File
23 lines
552 B
Desktop File
[Unit]
|
|
Description=Kubernetes Kubelet Server
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
After=docker.service cadvisor.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/kubernetes/config
|
|
EnvironmentFile=-/etc/kubernetes/kubelet
|
|
ExecStart=/usr/bin/kubelet \
|
|
${KUBE_LOGTOSTDERR} \
|
|
${KUBE_LOG_LEVEL} \
|
|
${KUBE_ETCD_SERVERS} \
|
|
${KUBELET_ADDRESS} \
|
|
${KUBELET_PORT} \
|
|
${KUBELET_HOSTNAME} \
|
|
${KUBE_ALLOW_PRIV} \
|
|
${KUBELET_ARGS}
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|