[gVisor](https://gvisor.dev/docs/) is an application kernel, written in Go, that implements a substantial portion of the Linux system call interface. It provides an additional layer of isolation between running applications and the host operating system.
gVisor includes an Open Container Initiative (OCI) runtime called runsc that makes it easy to work with existing container tooling. The runsc runtime integrates with Docker and Kubernetes, making it simple to run sandboxed containers.
## Usage
To enable gVisor you should be using a container manager that is compatible with selecting the [RuntimeClass](https://kubernetes.io/docs/concepts/containers/runtime-class/) such as `containerd`.
msg:"kata_containers_enabled support only for containerd and crio-o. See https://github.com/kata-containers/documentation/blob/1.11.4/how-to/run-kata-with-k8s.md#install-a-cri-implementation for details"
msg:"kata_containers_enabled support only for containerd and crio-o. See https://github.com/kata-containers/documentation/blob/1.11.4/how-to/run-kata-with-k8s.md#install-a-cri-implementation for details"
when:kata_containers_enabled
when:kata_containers_enabled
- name:Stop if gvisor_enabled is enabled when container_manager is not containerd
assert:
that:container_manager == 'containerd'
msg:"gvisor_enabled support only compatible with containerd. See https://github.com/kubernetes-sigs/kubespray/issues/7650 for details"
when:gvisor_enabled
- name:Stop if download_localhost is enabled for Flatcar Container Linux
- name:Stop if download_localhost is enabled for Flatcar Container Linux
assert:
assert:
that:ansible_os_family not in ["Flatcar Container Linux by Kinvolk"]
that:ansible_os_family not in ["Flatcar Container Linux by Kinvolk"]