https://rancher.com/ logo
#rke2
Title
s

shy-zebra-53074

09/29/2022, 3:33 PM
For example:
Copy code
[root@ip-192-168-96-10 ~]# cat /etc/fapolicyd/rules.d/01-app.rules 
# uids
%uuids=0,1000

# Run RKE2
allow perm=any all : dir=/opt/cni/
allow perm=any all : dir=/run/k3s/
allow perm=any all : dir=/var/lib/kubelet/
allow perm=any all : dir=/var/lib/rancher/
allow perm=any all : dir=/var/lib/rancher/rke2/data/v1.22.6-rke2r1-e6c1502b55cd/bin/
allow perm=any all : dir=/var/lib/rancher/rke2/data/v1.22.6-rke2r1-e6c1502b55cd/bin/runc
6 Views