Troubleshoot deployment and connectivity errors

Find out how to troubleshoot the possible issues you might encounter when deploying OneAgent on Kubernetes, or any connectivity errors that you might get when trying to connect your Kubernetes clusters to Dynatrace.

Note: By default, logs are located in /var/log/dynatrace/oneagent.

Issues occurring when deploying OneAgent

Dynatrace Operator for Kubernetes

In case you encounter a problem, you can review the logs provided by Dynatrace Operator by running

kubectl -n dynatrace logs -f deployment/dynatrace-operator

You might also want to check the logs from OneAgent pods deployed through Dynatrace Operator.

kubectl get pods -n dynatrace
NAME                                           READY     STATUS    RESTARTS   AGE
dynatrace-operator-64865586d4-nk5ng   1/1       Running   0          1d
dynakube-classic-8r2kq                             1/1       Running   0          22h
kubectl logs oneagent-66qgb -n dynatrace

DaemonSet for Kubernetes

Connectivity issues between Dynatrace and your cluster