
Dynatrace Mentor
Options
- Mark as New
- Subscribe to RSS Feed
- Permalink
on 21 Dec 2023 08:10 PM
DaemonSet
1. Check the status of the OneAgent pod in your environment:
Kubernetes
kubectl get pods --namespace=kube-system
> NAME READY STATUS RESTARTS AGE
dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s
OpenShift
oc get pods
> NAME READY STATUS RESTARTS AGE
dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s
2. View the logs of the OneAgent pod:
Kubernetes
kubectl logs -f dynatrace-oneagent-abcde --namespace=kube-system
OpenShift
oc logs -f dynatrace-oneagent-abcde
The following error is typically the case if the container hasn't yet fully started. Simply wait a few more seconds.
> Error from server (BadRequest): container "dynatrace-oneagent" in pod "dynatrace-oneagent-abcde" is waiting to start: ContainerCreating
Labels: