on 21 Dec 2023 08:10 PM
DaemonSet
1. Check the status of the OneAgent pod in your environment:
kubectl get pods --namespace=kube-system
> NAME READY STATUS RESTARTS AGE
dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s
oc get pods
> NAME READY STATUS RESTARTS AGE
dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s
2. View the logs of the OneAgent pod:
kubectl logs -f dynatrace-oneagent-abcde --namespace=kube-system
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