Dynatrace DQL Queries Map Kubernetes Topology to Assess Node Drain Impact

A platform team facing a kernel update on a Kubernetes node needs to know which services will lose replicas before draining it. The article explains how Dynatrace SaaS's Smartscape topology graph can answer this in a single DQL query instead of chaining several kubectl commands across clusters. It walks through four operating decisions, with queries built from the graph's node types and edges such as runs_on and routes_to. The examples show how to rank affected services by pods lost and how to use namespace owner labels to identify whom to contact. The author notes the queries were not run on a live tenant and recommends testing them on a small scope first.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in