Troubleshooting
This page provides a comprehensive guide to help you diagnose and resolve common problems.
Initial troubleshooting steps
Before you begin with the specific troubleshooting sections, it's important to have a clear understanding of the current state of your Kubernetes cluster. The initial steps outlined below will help you gather essential information about your cluster's health and the status of its components.
- Check the status of your DynaKube by executing the
kubectl get dynakubes -n dynatrace
command. - Use the
troubleshoot
subcommand. - Check the status of the Dynatrace pods
Use thekubectl -n dynatrace get pods
command to check the status of the Dynatrace Operator, OneAgent or CSI-driver pods (the amount of pods will vary depending on the selected deployment mode). - Inspect the logs
Use thekubectl logs
command to inspect the logs of specific pods. For example,kubectl logs <pod-name>
will display the logs for a specific pod. - Describe the resource
Thekubectl describe
command can provide detailed information about a specific resource. For example,kubectl describe pod <pod-name>
will display detailed information about a specific pod.