You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
550 B

  1. [Unit]
  2. Description=Kubernetes Kubelet Server
  3. Documentation=https://github.com/GoogleCloudPlatform/kubernetes
  4. After=docker.service
  5. Wants=docker.socket
  6. [Service]
  7. EnvironmentFile=-{{kube_config_dir}}/kubelet.env
  8. ExecStart={{ bin_dir }}/kubelet \
  9. $KUBE_LOGTOSTDERR \
  10. $KUBE_LOG_LEVEL \
  11. $KUBELET_API_SERVER \
  12. $KUBELET_ADDRESS \
  13. $KUBELET_PORT \
  14. $KUBELET_HOSTNAME \
  15. $KUBE_ALLOW_PRIV \
  16. $KUBELET_ARGS \
  17. $DOCKER_SOCKET \
  18. $KUBELET_NETWORK_PLUGIN \
  19. $KUBELET_CLOUDPROVIDER
  20. Restart=always
  21. RestartSec=10s
  22. [Install]
  23. WantedBy=multi-user.target