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:
Cristian Calin
2021-11-09 20:01:48 +02:00
committed by GitHub
parent 039205560a
commit b7ae4a2cfd
10 changed files with 287 additions and 18 deletions

View File

@@ -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