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 dynatracecommand.
- Use the
- Check the status of the Dynatrace pods
kubectl -n dynatrace get podscommand 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
kubectl logscommand to inspect the logs of specific pods. For example,
kubectl logs <pod-name>will display the logs for a specific pod.
- Describe the resource
kubectl describecommand can provide detailed information about a specific resource. For example,
kubectl describe pod <pod-name>will display detailed information about a specific pod.