Use this skill whenever the user wants to deploy the Datadog Operator and DDOT Collector on an OpenShift cluster. Triggers on mentions of Datadog on OpenShift, DDOT collector, Datadog Operator on ARO, or OpenShift monitoring with Datadog.
Deploy the Datadog Operator and DDOT Collector on an OpenShift cluster.
setup-openshift skill)oc CLI logged in to the clusterApply the operator subscription:
oc apply -f references/datadog-subscription.yaml
oc create secret generic datadog-secret --from-literal api-key=<YOUR_DATADOG_API_KEY>
oc apply -f references/datadog-agent.yaml
# Check operator and agent pods
oc get pods -l app.kubernetes.io/name=datadog
# Check agent status
oc exec $(oc get pods -l app.kubernetes.io/component=agent -o name | head -1) \
-c agent -- agent status 2>/dev/null | head -50
In the Datadog UI: Infrastructure > Kubernetes — verify the OpenShift cluster appears.
Cause: OpenShift SCCs blocking the Datadog agent containers.
Fix: The Datadog Operator should handle SCC creation. Verify with oc get scc | grep datadog.
Cause: DDOT collector not configured or port conflicts.
Fix: Verify the DDOT configuration in datadog-agent.yaml and check collector logs.