github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/kubelet/templates/kubelet.service (about) 1 [Unit] 2 Description=Kubernetes Kubelet 3 Documentation=https://github.com/GoogleCloudPlatform/kubernetes 4 Wants=docker.service 5 After=docker.service 6 7 [Service] 8 ExecStart=/usr/bin/kubelet \ 9 {% set combined_options = kubelet_defaults | combine(kubelet_overrides) | combine(kubelet_node_overrides[inventory_hostname]) -%} 10 {% for option in combined_options | dictsort %} 11 {% if option[1] is defined and option[1] | string | length > 0 %} 12 --{{ option[0] }}={{ option[1] }} \ 13 {% endif %} 14 {% endfor %} 15 Restart=on-failure 16 RestartSec=3 17 RestartForceExitStatus=SIGPIPE 18 WorkingDirectory=/root/ 19 20 [Install] 21 WantedBy=multi-user.target