Created
February 3, 2020 01:51
-
-
Save leandrosiow/0d5a430398eca2bb162f45049f6971e7 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] | |
ExecStartPre=/sbin/iptables -P FORWARD ACCEPT | |
ExecStart=/usr/bin/kubelet --cloud-provider aws \ | |
--config /etc/kubernetes/kubelet/kubelet-config.json \ | |
--kubeconfig /var/lib/kubelet/kubeconfig \ | |
--container-runtime docker \ | |
--network-plugin cni $KUBELET_ARGS $KUBELET_EXTRA_ARGS | |
Restart=on-failure | |
RestartForceExitStatus=SIGPIPE | |
RestartSec=5 | |
KillMode=process | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment