Controller Issues
Controller Pods Not Starting
Symptoms:Kernel version too old
Kernel version too old
kguardian requires Linux kernel 6.2+.Check:Solution: Upgrade nodes to kernel 6.2+ or use a distribution with eBPF CO-RE support.
eBPF not enabled
eBPF not enabled
Some cloud providers disable eBPF by default.Check controller logs:Look for errors like: “failed to load BPF programs”Solution: Enable eBPF in cloud provider settings or use privileged security context.
Insufficient privileges
Insufficient privileges
Controller needs CAP_BPF, CAP_PERFMON, CAP_SYS_RESOURCE.Check pod security:Solution: Ensure pod has
privileged: true or the required capabilities.Broker Issues
No Traffic Data
Symptoms:- CLI says “No traffic data found”
- Empty response from
/pod/traffic/endpoint
1
Check pods are generating traffic
2
Check controller is sending data
3
Check broker is receiving data
4
Query database directly
CLI Issues
Can’t Connect to Broker
Symptoms:Policy Generation Issues
Generated Policy Too Permissive
Cause: Pods lack specific labels, so broader selectors are used. Solution:- Add specific labels to your pods
- Manually edit generated policies
- Re-generate after labeling
Policy Breaks Communication
Cause: Incomplete observation - not all traffic was captured. Solution:- Extend observation period (let app run longer)
- Check pod logs for connection errors
- Manually add missing rules to the policy
Debug Mode
Enable debug logging for more details:Still having issues?
Ask for help in GitHub Discussions →