• Home
  • Deploy
  • Kubernetes
  • Deployment
  • Troubleshooting

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.

  1. Check the status of your DynaKube by executing the kubectl get dynakubes -n dynatrace command.
  2. Use the troubleshoot subcommand.
  3. Check the status of the Dynatrace pods
    Use the kubectl -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).
  4. Inspect the logs
    Use the kubectl logs command to inspect the logs of specific pods. For example, kubectl logs <pod-name> will display the logs for a specific pod.
  5. Describe the resource
    The kubectl 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.

Components

General

General troubleshooting for common issues.

Monitoring issues

Ccommon issues that may arise when monitoring Kubernetes with Dynatrace.

Connectivity issues

Common connectivity issues between Dynatrace and your Kubernetes cluster.