When troubleshooting network connectivity, policy enforcement issues, or Antrea component health, it is essential to collect diagnostic data from the Antrea Controller, Agents, and Open vSwitch (OVS).
This article outlines the standard procedures for generating a comprehensive support bundle.
VMware Container Networking with Antrea
The supportbundle command is the most efficient way to capture logs from the entire cluster, including OVS status, flow tables, and configuration files.
To collect from all nodes (Remote): Run this from a machine with kubeconfig access to capture the entire cluster state:
antctl supportbundle -d ./antrea-diagnostics
To collect from a specific node: If you suspect a localized issue on a single worker node:
antctl supportbundle --node-name <node-name>
If antctl is unavailable, you can manually inspect logs using standard Kubernetes commands.
Antrea Controller:
kubectl logs -n kube-system -l app=antrea,component=antrea-controller
Antrea Agent (CNI Logic):
kubectl logs -n kube-system <antrea-agent-pod-name> -c antrea-agent
Open vSwitch (OVS):
kubectl logs -n kube-system <antrea-agent-pod-name> -c antrea-ovs