Using custom Seccomp Profiles with Kubernetes workloads.
patch.yaml
audit.json
on the node at /var/lib/kubelet/seccomp/profiles
.
The profiles can be used by Kubernetes pods by specfying the pod securityContext
as below:
Note that theThis can be verfied by running the below commands:localhostProfile
uses the name of the profile created underprofiles
directory. So make sure to use path asprofiles/<profile-name.json>
talosctl dmesg
command from above should log similar to below: