cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
darynakovyrina
Dynatrace Mentor
Dynatrace Mentor

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

Version history
Last update:
‎14 Dec 2023 02:05 AM
Updated by:
Comments
radek_jasinski
DynaMight Guru
DynaMight Guru

This advice is worth remembering.