25 lines
590 B
INI
25 lines
590 B
INI
[Unit]
|
|
Description=Kubernetes Kubelet Server
|
|
Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|
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_API_SERVER \
|
|
$KUBELET_ADDRESS \
|
|
$KUBELET_PORT \
|
|
$KUBELET_HOSTNAME \
|
|
$KUBE_ALLOW_PRIV \
|
|
$KUBELET_POD_INFRA_CONTAINER \
|
|
$KUBELET_ARGS
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|