summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-04-23 04:07:25 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-04-23 04:07:25 +0200
commit907572942f57d3be60cd1fe52763ec0be89e5831 (patch)
tree10ba57734a40e3bcf2f7f3320d622d259260be34 /roles/kubernetes/standalone
parentkubernetes/standalone: install kubeletctl and enable x509 based auth (diff)
kubernetes/standalone: upgrade to 1.27+
Diffstat (limited to 'roles/kubernetes/standalone')
-rw-r--r--roles/kubernetes/standalone/base/templates/kubelet-config.yml.j21
-rw-r--r--roles/kubernetes/standalone/base/templates/kubelet.service.override.j22
2 files changed, 1 insertions, 2 deletions
diff --git a/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2 b/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2
index ae26d04d..c90efd9e 100644
--- a/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2
+++ b/roles/kubernetes/standalone/base/templates/kubelet-config.yml.j2
@@ -2,6 +2,7 @@
{# #}
kind: KubeletConfiguration
apiVersion: kubelet.config.k8s.io/v1beta1
+containerRuntimeEndpoint: {{ kubernetes_cri_socket }}
staticPodPath: /etc/kubernetes/manifests
address: {{ kubernetes_standalone_address }}
port: {{ kubernetes_standalone_port }}
diff --git a/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2 b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
index d4637c72..33c2d4d0 100644
--- a/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
+++ b/roles/kubernetes/standalone/base/templates/kubelet.service.override.j2
@@ -1,6 +1,4 @@
[Service]
ExecStart=
ExecStart=/usr/bin/kubelet \
- --container-runtime=remote \
- --container-runtime-endpoint={{ kubernetes_cri_socket }} \
--config=/etc/kubernetes/kubelet.yml