Make some update on kubeadm config template

This commit is contained in:
Adrien Reslinger 2024-05-04 13:31:31 +02:00
parent bd2a60fa44
commit b60a176cff
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -26,13 +26,7 @@ nodeRegistration:
{% if ansible_service_mgr == "systemd" %}
cgroup-driver: "systemd"
{% endif %}
container-runtime: "remote"
runtime-request-timeout: "5m"
{% if kubernetes_cri == "containerd" %}
container-runtime-endpoint: "unix:///run/containerd/containerd.sock"
{% elif kubernetes_cri == "cri-o" %}
container-runtime-endpoint: "unix:///var/run/crio/crio.sock"
{% endif %}
node-ip: {{ lookup('vars', 'ansible_' + kubernetes_interface ).ipv4.address }}
read-only-port: "10255"
ignorePreflightErrors: