on 15 Dec 2023 05:50 AM
DaemonSet
kubectl get ds/dynatrace-oneagent --namespace=kube-system
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE-SELECTOR AGE
dynatrace-oneagent 1 1 0 1 0 beta.kubernetes.io/os=linux 14mc
kubectl logs -f dynatrace-oneagent-abcde --namespace=kube-system
09:46:18 Started agent deployment as Docker image, PID 1234.
09:46:18 Agent installer can only be downloaded from secure location. Your installer URL should start with 'https': REPLACE_WITH_YOUR_URL
Change the value REPLACE_WITH_YOUR_URL
in the dynatrace-oneagent.yml
DaemonSet with the OneAgent installer URL.
oc get pods
NAME READY STATUS RESTARTS AGE
dynatrace-oneagent-abcde 0/1 ErrImagePull 0 3s
oc logs -f dynatrace-oneagent-abcde
Error from server (BadRequest): container "dynatrace-oneagent" in pod "dynatrace-oneagent-abcde" is waiting to start: image can't be pulled
This is typically the case if the dynatrace
service account hasn't been allowed to pull images from the RHCC.