cilium-config ConfigMap and (when needed) trigger a restart of Cilium agents so changes take effect.

- Inspect current runtime and configuration values.
- Temporarily increase logging detail to diagnose networking, policy, or datapath issues.
- Apply and revert settings without editing ConfigMaps manually.
Quick command reference
| Command | Purpose | Example |
|---|---|---|
cilium config view | Display the active Cilium configuration (from the cilium-config ConfigMap). | cilium config view |
cilium config set debug true | Enable debug logging (patches the ConfigMap and restarts Cilium pods). | cilium config set debug true |
cilium config set debug false | Disable debug logging (revert to default logging level). | cilium config set debug false |
kubectl -n kube-system get pods -l k8s-app=cilium | Verify Cilium pods and check for restarts after config changes. | kubectl -n kube-system get pods -l k8s-app=cilium |
kubectl -n kube-system logs <cilium-pod-name> | Inspect Cilium pod logs (useful when debug is enabled). | kubectl -n kube-system logs cilium-abcde |
View the current Cilium configuration
Use this to quickly inspect values stored in thecilium-config ConfigMap and confirm how Cilium is configured in the cluster:
cilium CLI output.
Enable debug logging (toggle)
Enabling debug logging increases log verbosity from Cilium agents, which is useful when isolating issues in datapath, agent communication, or policy enforcement. The cilium CLI patches thecilium-config ConfigMap and restarts Cilium pods so agents pick up the change.
Enable debug logging:
Verify pods and inspect logs
After toggling debug, confirm the pods restarted and examine logs:cilium status and cilium endpoint list for deeper troubleshooting.
Enabling debug logging produces verbose output and can increase log volume significantly. Use it for troubleshooting and disable it (set debug false) when finished.
Do not leave debug logging enabled in production for long periods. Increased log volume can impact storage and performance and may expose sensitive internal details.