The node-agent
is repeatedly crashing with a CrashLoopBackOff
error : cannot create bpf perf link
#384
Labels
bug
Something isn't working
Description
I'm encountering an issue with the
node-agent
in my Kubernetes cluster running Kubescape. Thenode-agent
is repeatedly crashing with aCrashLoopBackOff
error, and I'm seeing the following error messages in the logs:Environment
OS:
Linux (kernel version: 5.14.0-362.13.1.el9_3.x86_64)
Kubescape :
v3.0.3
Helm chart :
v1.8.1
Kubernetes Server :
v1.27.6
Kubernetes Client :
v1.26.3
Expected behavior
The node-agent pods should start successfully and not crash with the CrashLoopBackOff error.
Actual Behavior
The node-agent pods are repeatedly crashing with a CrashLoopBackOff error, and the logs show errors related to creating a BPF perf link due to permission denied.
Additional context
The node-agent container is using the quay.io/kubescape/node-agent:v0.1.114 image, and the pod has resource limits and requests defined.
I've checked the AppArmor profile for the node-agent container, and it's set to "unconfined," indicating that it's not confined by AppArmor security policies.
I also reviewed the RBAC permissions and ClusterRoleBinding for the node-agent service account, and it appears to have the necessary permissions and already checked kernel capabilities and seems to be right.
I use cilium CNI on the cluster.
The text was updated successfully, but these errors were encountered: