VMware Telco Cloud Automation 3.x introduces compatibility with TKG version 2.5.1 or above, which includes a new diagnostic plugin for gathering crashd logs from management clusters. This plugin is in its initial release and does not yet support crashed log collection for v2 workload clusters. During TCA installation, the diagnostic plugin is not installed by default and is only added when creating a management cluster with TKG version 2.5.0 or above (using Kubernetes version 1.28.4 or above), or upgrading an existing management cluster to TKG 2.5.0 or above.
Follow the steps below to utilize this plugin for collecting crash log bundle of the management cluster.
Procedure
- Login to VMware Telco Cloud Automation platform with SSO credentials.
- Navigate to Virtual Infrastructure.
- Click on the menu option on the left of TCA-CP on which the management cluster is deployed and select Open Cluster Terminal.
- On TCA-CP terminal, use the command below to query for
kbs-tkg25
pod where the diagnostic
plugin is installed. First column value is the namespace in which kbs pod is running and second column below is the pod name.
getPod |
debug-pod [ ~ ]$ kubectl get po -A | grep kbs-tkg250
tca-cp-cn kbs-tkg250-6bf6599b8f-s6zd8 1/1 Running 0 2d |
- Exec to
kbs-tkg25x
pod using the following command:
execPod |
kubectl exec -it -n namespace pod_name -- bash |
- Use the
diagnostic
plugin guide, Troubleshooting Clusters with the Diagnostics Plugin, to collect management cluster log bundle once inside the KBS pod.
- In certain cases, the KBS pod may not have the
diagnostic
plugin installed. In such a scenario, use the following command before proceeding with collection of management cluster logs. This command must be executed from within the KBS pod.
installTanzuDiagnostic |
root [ / ]# tanzu plugin install diagnostics |