Installation
Prerequisites
The prerequisites required by different enforcers are as shown in the following table.
| Enforcer | Requirements | Recommendations |
|---|---|---|
| AppArmor | 1. Linux Kernel 4.15 and above 2. The AppArmor LSM is enabled | GKE with Container-Optimized OS AKS with Ubuntu VKE with veLinux Debian 10 and above Ubuntu 18.04.0 LTS and above veLinux etc. |
| BPF | 1. Linux Kernel 5.10 and above (x86_64) 2. containerd v1.6.0 and above 3. The BPF LSM is enabled | EKS with Amazon Linux 2 GKE with Container-Optimized OS VKE with veLinux (with 5.10 kernel) AKS with Ubuntu 22.04 LTS * ACK with Alibaba Cloud Linux 3 * OpenSUSE 15.4 * Debian 11 * Fedora 37 veLinux (with 5.10 kernel) etc. * Manual enabling of BPF LSM is required |
| Seccomp | 1. Kubernetes v1.19 and above | All Linux distributions |
Installation
vArmor can be deployed via a Helm chart which is the recommended and preferred method for a production install.
In order to install vArmor with Helm, first fetch the chart.
helm pull oci://elkeid-ap-southeast-1.cr.volces.com/varmor/varmor --version 0.9.0
Then install it with helm optional configurations.
helm install varmor varmor-0.9.0.tgz \
--namespace varmor --create-namespace \
--set image.registry="elkeid-ap-southeast-1.cr.volces.com"
You can use the domain elkeid-cn-beijing.cr.volces.com inside of the CN region.
Configuration
vArmor allows you to configure its functionality during installation using the helm command.