For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Debug container

The Connectivity Gateway (CGW) pod can run a debug container with networking tools, such as ip xfrm and tcpdump, to exec into for troubleshooting. It is disabled by default; enable it for an investigation:

yaml

The container runs privileged and holds every capability, more than any other container of the pod. Disable it again once the investigation is over.

Its resources come from resources.debug (100m CPU, 64Mi memory by default). Tools started with kubectl exec count against that limit; raise it for a long capture.

With pcap.enabled, the debug container also mounts the captures of the PCAP collector read-only at /data/, where the collector writes them. They can be listed there and copied out with kubectl cp.

A pod needs at least one container. A configuration that enables none of its own - GRE only, for instance, which runs as an init container - fails to render with no container enabled. Enable the debug container, or add a container through additionalContainers.