Troubleshoot OneAgent on Google Kubernetes Engine clusters

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

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

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

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