Created
November 30, 2019 14:05
-
-
Save vigneshragupathy/813d15d4fa0a908e571147b0ec2fee44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Kubernetes Kubelet | |
Documentation=https://github.com/kubernetes/kubernetes | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
ExecStart=/usr/local/bin/kubelet \ | |
--config=/var/lib/kubelet/kubelet-config.yaml \ | |
--image-pull-progress-deadline=2m \ | |
--kubeconfig=/var/lib/kubelet/kubeconfig \ | |
--tls-cert-file=/var/lib/kubelet/kubernetes2.crt \ | |
--tls-private-key-file=/var/lib/kubelet/kubernetes2.key \ | |
--network-plugin=cni \ | |
--register-node=true \ | |
--v=2 | |
Restart=on-failure | |
RestartSec=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment