mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Ubuntu CRI-O (#5426)
* Fix crictl * Reload systemd daemon before enabling service * Typo * Add crictl template * Remove seccomp.json for ubuntu * Set runtime path of runc for ubuntu * Change path to conmon
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
15a8c34717
commit
ccbcad9741
@@ -104,6 +104,8 @@ selinux = {{ (preinstall_selinux_state == 'enforcing')|lower }}
|
||||
# for the runtime.
|
||||
{% if ansible_os_family == "ClearLinux" %}
|
||||
seccomp_profile = "/usr/share/defaults/crio/seccomp.json"
|
||||
{% elif ansible_distribution == "Ubuntu" %}
|
||||
seccomp_profile = ""
|
||||
{% else %}
|
||||
seccomp_profile = "/etc/crio/seccomp.json"
|
||||
{% endif %}
|
||||
@@ -216,8 +218,10 @@ ctr_stop_timeout = 0
|
||||
# of trust of the workload.
|
||||
|
||||
[crio.runtime.runtimes.runc]
|
||||
{% if ansible_os_family == "ClearLinux" or ansible_os_family == "RedHat" or ansible_distribution == "Ubuntu" %}
|
||||
{% if ansible_os_family == "ClearLinux" or ansible_os_family == "RedHat" %}
|
||||
runtime_path = "/usr/bin/runc"
|
||||
{% elif ansible_distribution == "Ubuntu" %}
|
||||
runtime_path = "/usr/lib/cri-o-runc/sbin/runc"
|
||||
{% else %}
|
||||
runtime_path = "/usr/sbin/runc"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user