mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
Kata-Containers: Fix kata-containers runtime (#8068)
* Kata-containes: Fix for ubuntu and centos sometimes kata containers fail to start because of access errors to /dev/vhost-vsock and /dev/vhost-net * Kata-containers: use similar testing strategy as gvisor * Kata-Containers: adjust values for 2.2.0 defaults Make CI tests actually pass * Kata-Containers: bump to 2.2.2 to fix sandbox_cgroup_only issue
This commit is contained in:
@@ -34,3 +34,19 @@
|
||||
mode: 0755
|
||||
with_items:
|
||||
- qemu
|
||||
|
||||
- name: kata-containers | Load vhost kernel modules
|
||||
modprobe:
|
||||
state: present
|
||||
name: "{{ item }}"
|
||||
with_items:
|
||||
- vhost_vsock
|
||||
- vhost_net
|
||||
|
||||
- name: kata-containers | Persist vhost kernel modules
|
||||
copy:
|
||||
dest: /etc/modules-load.d/kubespray-kata-containers.conf
|
||||
mode: 0644
|
||||
content: |
|
||||
vhost_vsock
|
||||
vhost_net
|
||||
|
||||
Reference in New Issue
Block a user