diff --git a/templates/kubeadm-config.yaml.j2 b/templates/kubeadm-config.yaml.j2 index 8dc8a7e..f9f84dd 100644 --- a/templates/kubeadm-config.yaml.j2 +++ b/templates/kubeadm-config.yaml.j2 @@ -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: