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 network probe eBPF”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 broker is receiving data
RUST_LOG=INFO — so verify ingest at the broker side, or raise
the controller log level (see Debug Mode).3
Query the broker directly
GET /pod/ip/{ip}: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:kubectl set env override reverts on the next helm upgrade,
which re-renders the DaemonSet with the chart’s pinned value.
Still having issues?
Ask for help in GitHub Discussions →