Get Kubernetes Cluster Info from Datadog
Engineers get cluster snapshot in one turn
"What's the state of the payments cluster right now?" — an engineer asks in Slack while investigating an outage. The answer lives in Datadog + Kubernetes dashboards + Grafana + kubectl, requires stitching signals across all of them, and takes 10-20 minutes for someone who knows the tooling. During an incident, this delay compounds; nobody has one place to see the actual picture.
An hour-by-hour walkthrough.
Step by step.
- 01
Parse cluster + scope query
Cluster identifier, scope (whole cluster, namespace, workload, node pool). Handles common shorthand (payments-prod, checkout-staging).
Reasoning · Cluster registry - 02
Query multiple sources in parallel
Datadog for metrics + logs, K8s API for state, Grafana for dashboards, kubectl-equivalent for events. All in parallel.
Datadog · Kubernetes API · Grafana · Prometheus - 03
Correlate + synthesize
State + metrics + events + recent changes correlated. Signals matched to common patterns (OOMs, restarts, pending pods, node pressure).
Correlation engine · Pattern library - 04
Present with links + recommendations
Structured summary + deep links to dashboards for drill-down. Recommendations for common issues.
Slack · Teams · Deep-link generation - 05
Log queries + optimize common patterns
Repeat query patterns become saved views. Common investigations get faster over time.
Query log · Saved views
What you connect to make this run.
Datadog · New Relic · Grafana · Prometheus
readMetrics + logs + APM data. Multi-source read for comprehensive view.
Kubernetes API · kubectl equivalent
readLive cluster state: nodes, pods, deployments, events. Read-only for status queries.
PagerDuty · Incident tracker
readRecent incidents affecting cluster; correlated with current state signals.
Slack · Teams
read+writePrimary interface for engineers. Query in-flow; answer in-flow.
Before and after, honestly.
Answers about this playbook.
What about multi-cluster environments?
Multi-cluster queries supported: 'payments-prod + payments-staging' returns comparative view. Cluster-of-clusters (fleet view) for platform teams.
Can it make changes (scale, restart)?
Read-only by default. Change actions available via separate approve-then-execute flow with proper RBAC. Never silent writes.
How does it handle multi-cloud (AWS + GCP + Azure clusters)?
Provider-agnostic. Same query surface across EKS, GKE, AKS, self-hosted. Provider-specific details surfaced when relevant.
What about custom controllers or CRDs?
Custom resources supported when registered. Query the cluster for what exists; explain what's there. Custom pattern libraries added as needed.
How does it interact with GitOps (ArgoCD, Flux)?
GitOps state + drift surfaced. Cluster desired-state vs. actual-state comparison. Deployment intent visible alongside current state.
See it run on your data.
Free plan, no credit card. Connect the systems this playbook needs and run it against a past event first.