summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
blob: 00f2c3604da25d9dc8a32b159b074566a3b5f9e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
[Service]
ExecStart=
ExecStart=/usr/bin/kubelet \
{% if kubernetes_container_runtime != 'docker' %}
  --container-runtime=remote \
  --container-runtime-endpoint={{ kubernetes_cri_socket }} \
{% else %}
  --container-runtime=docker \
  --network-plugin=cni \
{% endif %}
  --config=/etc/kubernetes/kubelet.yml