This guide provides the step-by-step procedure for generating and collecting Antrea diagnostic support bundles from the SSP-Installer VM.
These bundles are essential for troubleshooting network-related issues within your SSP and SSP-I environments.
Access to the SSP-Installer VM via SSH.
Sufficient disk space to store the generated .tar.gz files.
Login to the SSP-Installer using sysadmin/root based on the version(root if SSP version = 5.0, sysadmin if SSP version > 5.0)
Before collecting logs, you must extract the antctl binary from the running controller pod.
Identify the Antrea Controller Pod:
kubectl get pods -n kube-system | grep antrea-controller
Copy the binary to your local directory:
kubectl cp kube-system/<POD_NAME>:/usr/local/bin/antctl ./antctl
Set executable permissions:
chmod +x ./antctl
This phase collects data specifically for the workload cluster.
Locate your Kubeconfig path: Run the following command and look for the path ending in .kubeconfig (e.g., /config/clusterctl/1/sspXXX.kubeconfig):
cat /config/clusterctl/k_alias_wrapper.sh
Generate the bundle:
./antctl supportbundle --kubeconfig <PATH_TO_YOUR_KUBECONFIG> -d ./workload-antrea-diagnostics
Compress the output:
tar -czvf workload-antrea-bundle.tar.gz ./workload-antrea-diagnostics
Note: If support only requests the Workload Cluster bundle, you may stop here.
This phase collects data for the SSP-Installer infrastructure.
Generate the bundle:
./antctl supportbundle -d ./sspi-antrea-diagnostics
Compress the output:
tar -czvf sspi-antrea-bundle.tar.gz ./sspi-antrea-diagnostics
Once completed, please upload the following files to the SR through support portal:
workload-antrea-bundle.tar.gz
sspi-antrea-bundle.tar.gz
Standard SSP and SSPI support bundles (as per usual process).