mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-14 06:29:32 -02:30
containerd: add support for suse distributions (#8261)
This commit is contained in:
@@ -31,6 +31,14 @@ platforms:
|
|||||||
- kube_control_plane
|
- kube_control_plane
|
||||||
- kube_node
|
- kube_node
|
||||||
- k8s_cluster
|
- k8s_cluster
|
||||||
|
- name: opensuse
|
||||||
|
box: opensuse/Leap-15.2.x86_64
|
||||||
|
cpus: 1
|
||||||
|
memory: 1024
|
||||||
|
groups:
|
||||||
|
- kube_control_plane
|
||||||
|
- kube_node
|
||||||
|
- k8s_cluster
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
fail:
|
fail:
|
||||||
msg: "{{ ansible_distribution }} is not supported by containerd."
|
msg: "{{ ansible_distribution }} is not supported by containerd."
|
||||||
when:
|
when:
|
||||||
- not ansible_distribution in ["CentOS", "OracleLinux", "RedHat", "Ubuntu", "Debian", "Fedora", "AlmaLinux", "Rocky", "Amazon", "Flatcar", "Flatcar Container Linux by Kinvolk"]
|
- ansible_distribution not in ["CentOS", "OracleLinux", "RedHat", "Ubuntu", "Debian", "Fedora", "AlmaLinux", "Rocky", "Amazon", "Flatcar", "Flatcar Container Linux by Kinvolk", "Suse", "openSUSE Leap", "openSUSE Tumbleweed"]
|
||||||
|
|
||||||
- name: disable unified_cgroup_hierarchy in Fedora 31+
|
- name: disable unified_cgroup_hierarchy in Fedora 31+
|
||||||
command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
|
||||||
|
|||||||
Reference in New Issue
Block a user