summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/kubernetes/standalone/base/templates/kubelet.service.override.j2')
-rw-r--r--roles/kubernetes/standalone/base/templates/kubelet.service.override.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2 b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
new file mode 100644
index 00000000..fe8bfb4c
--- /dev/null
+++ b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
@@ -0,0 +1,10 @@
+[Service]
+ExecStart=
+ExecStart=/usr/bin/kubelet \
+ --config=/etc/kubernetes/kubelet.yml \
+{% if kubernetes_cri_socket %}
+ --container-runtime=remote \
+ --container-runtime-endpoint={{ kubernetes_cri_socket }} \
+{% endif %}
+ --network-plugin=cni \
+ --cloud-provider=