Created
July 8, 2018 22:40
-
-
Save d-nishi/289cb82367580eb0cb129c9f967d903d to your computer and use it in GitHub Desktop.
kubelet.service for in-tree cloud-provider-aws - sudo vim /etc/systemd/system/kubelet.service
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 | |
[Service] | |
ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests | |
ExecStart=/usr/bin/kubelet \ | |
--api-servers=http://127.0.0.1:8080 \ | |
--allow-privileged=true \ | |
--config=/etc/kubernetes/manifests \ | |
--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