Skip to content

Instantly share code, notes, and snippets.

@d-nishi
Created July 8, 2018 22:40
Show Gist options
  • Save d-nishi/289cb82367580eb0cb129c9f967d903d to your computer and use it in GitHub Desktop.
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
[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