Skip to main content

Agent not appearing in dashboard

Check the agent is running:
kubectl get pods -n changeguard-agent
Check push logs:
kubectl logs -n changeguard-agent -l app=changeguard-agent | grep "\[push\]"
You should see [push] OK lines every 10 seconds. If you see errors:
ErrorCauseFix
AUTH FAILED: Invalid API keyWrong or revoked API keyCreate a new key in Integrations, update the secret
FORBIDDENWAF blocking, wrong endpointEnsure BACKEND_URL=https://api.changeguard.ai
connection refusedCan’t reach backendCheck cluster egress allows HTTPS to api.changeguard.ai:443
PAYLOAD TOO LARGECluster snapshot exceeds limitContact support — this shouldn’t happen with gzip

Check agent health

kubectl exec -n changeguard-agent deploy/changeguard-agent -- \
  wget -qO- http://localhost:9090/health
Key fields to check:
  • pushCount — should be incrementing
  • pushErrors — should be 0
  • consecutiveFailures — should be 0
  • lastPushStatus — should be 200
  • lastError — should be empty

Agent uses too much memory

Default limits are 256Mi. For very large clusters (500+ pods), increase:
kubectl set resources deployment/changeguard-agent -n changeguard-agent \
  --limits=memory=512Mi --requests=memory=128Mi

Logs not appearing

Check log collector is enabled:
kubectl exec -n changeguard-agent deploy/changeguard-agent -- \
  wget -qO- http://localhost:9090/health | grep logCollector
If logCollector: false, update the secret with ENABLE_LOG_COLLECTOR=true and restart.

Network requirements

The agent needs outbound HTTPS access to one endpoint:
api.changeguard.ai:443
If your cluster uses a network policy or egress firewall, allow this destination.