summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-01-12 00:09:02 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-01-12 00:09:02 +0100
commit52b6673b7af6c6018c9aa093692979a7a3597fd9 (patch)
tree3a3489f7d4bedd4f4a0753b91533a45b009ece97 /roles/kubernetes/standalone
parentMerge branch 'topic/no-more-kubic' (diff)
kubernetes/base: use cri-dockerd when docker runtime is configured
Diffstat (limited to 'roles/kubernetes/standalone')
-rw-r--r--roles/kubernetes/standalone/base/templates/kubelet.service.override.j25
1 files changed, 0 insertions, 5 deletions
diff --git a/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2 b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
index 00f2c360..d4637c72 100644
--- a/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
+++ b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
@@ -1,11 +1,6 @@
[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