Make some update on kubeadm config template
This commit is contained in:
parent
bd2a60fa44
commit
b60a176cff
1 changed files with 0 additions and 6 deletions
|
|
@ -26,13 +26,7 @@ nodeRegistration:
|
||||||
{% if ansible_service_mgr == "systemd" %}
|
{% if ansible_service_mgr == "systemd" %}
|
||||||
cgroup-driver: "systemd"
|
cgroup-driver: "systemd"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
container-runtime: "remote"
|
|
||||||
runtime-request-timeout: "5m"
|
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 }}
|
node-ip: {{ lookup('vars', 'ansible_' + kubernetes_interface ).ipv4.address }}
|
||||||
read-only-port: "10255"
|
read-only-port: "10255"
|
||||||
ignorePreflightErrors:
|
ignorePreflightErrors:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue