summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-03-17 17:38:43 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-03-17 17:38:43 +0100
commit7c6ee0b6344b7d7d874d5755d449ed4503c02721 (patch)
treeb03104b7840dae142ae806c553f599006840dba3 /roles/kubernetes/standalone
parentkubernetes role, cleanup and harmonization (diff)
kubernetes: some more harmonization
Diffstat (limited to 'roles/kubernetes/standalone')
-rw-r--r--roles/kubernetes/standalone/templates/kubelet.service.override.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/kubernetes/standalone/templates/kubelet.service.override.j2 b/roles/kubernetes/standalone/templates/kubelet.service.override.j2
index 75061e73..3eb8b63d 100644
--- a/roles/kubernetes/standalone/templates/kubelet.service.override.j2
+++ b/roles/kubernetes/standalone/templates/kubelet.service.override.j2
@@ -2,9 +2,9 @@
ExecStart=
ExecStart=/usr/bin/kubelet \
--config=/etc/kubernetes/kubelet.yml \
-{% if kubernetes_container_runtime == 'containerd' %}
+{% if kubernetes_cri_socket is defined %}
--container-runtime=remote \
- --container-runtime-endpoint=unix:///run/containerd/containerd.sock \
+ --container-runtime-endpoint={{ kubernetes_cri_socket }} \
{% endif %}
--network-plugin=cni \
--cloud-provider=