For the complete documentation index, see llms.txt. This page is also available as Markdown.

Topology

See how your Kubernetes workloads connect — and what's in the blast radius when one breaks

Dstl8 captures the resource topology of your connected Kubernetes clusters — workloads, pods, services, ingresses, nodes, and the relationships between them. You can explore it visually in the web UI, browse it in the terminal, and query blast radius from the CLI. Möbius uses the same graph to reason about impact across the cluster during investigations.

How it works

The cluster component of the ControlTheory Kubernetes agent collects a topology snapshot roughly every 30 minutes and sends it to Dstl8. That means:

  • Topology requires a Kubernetes source with the cluster agent installed and running.

  • A freshly installed agent can take up to half an hour to produce its first snapshot.

  • Every topology view shows a freshness badge — "Last scanned 12m ago" — which turns to "Stale — agent may be down" if snapshots stop arriving.

In the web UI

Open a workspace and click Topology in the sidebar. The link appears once the workspace has a Kubernetes source assigned and at least one cluster is reporting topology data. If the workspace spans multiple clusters, use the cluster selector in the header to switch between them; the header also shows totals (nodes · namespaces · workloads · pods).

Each Kubernetes source's detail page also has its own Topology tab with the same views, scoped to just that source's clusters.

There are two views, switched with the Explorer / Graph tabs.

Explorer

A hierarchical tree of the cluster with a detail pane beside it:

  • Cluster → Nodes (with pod counts per node) and a Namespaces section

  • Each namespace groups its resources: Deployments, StatefulSets, DaemonSets, CronJobs, Jobs, Services, Ingresses, and Standalone Pods

  • Pods are listed under their owning workload (ReplicaSets are collapsed away), with restart counts; Deployments and StatefulSets show ready/desired badges (e.g. 3/5)

Type in the Filter by name… box to find a resource — the tree narrows to matches and their ancestors auto-expand. Click any item to see its details on the right: current status, its health (see Health at a glance), metadata (labels, annotations, readiness, restarts), its Relationships — each one a clickable link that jumps to the related entity — and its logs, traces and metrics from the last hour (see Logs, traces and metrics for an entity).

Graph

An interactive network diagram of the same data:

  • Namespaces start collapsed as summary boxes ("12 pods · 4 deploy · 1 sts · 2 svc") — click one to expand it in place, or use Expand all / Collapse all.

  • Filter by kind with the toggle badges above the graph (Deployment, StatefulSet, DaemonSet, ReplicaSet, Job, CronJob, Pod, Service, Ingress). ReplicaSets and Jobs are hidden by default to reduce clutter.

  • Search with the Find workload, pod, service… box.

  • Scroll to zoom, drag the background to pan, drag nodes to rearrange. Click a node to open its detail panel; click the background to close it.

Nodes are color-coded by kind and carry a health dot (see Health at a glance). Edges are color-coded by relationship:

Relationship
Meaning

owns

Ownership chain (Deployment → ReplicaSet → Pod)

targets

A Service targeting the pods it load-balances

routes_to

An Ingress routing traffic to a Service

runs_on

A Pod scheduled on a Node

uses

A Pod referencing a ConfigMap or Secret

contains

Cluster containment (cluster → nodes, namespaces)

Health at a glance

Every entity in the Explorer tree, the Graph and the detail panel carries a colored dot that answers "is something going on here?" It combines two things:

  • Recent log sentiment from the entity's logs, on the same scale as the Sentiment page (Critical, Poor, Weak, Fair, Neutral, Positive).

  • Kubernetes state: a failed or not-ready object, a pending or degraded one, or a pod that keeps restarting.

The dot shows the worse of the two, and problems roll up: a struggling pod colors its workload, the Services that target it, its namespace and the cluster. So you can start at the cluster, follow the colored dots down, and find the pod at the bottom of it.

Hover a dot (or look at the detail panel) to see where the color came from, for example Sentiment: Weak (-0.31) · k8s: Pending, or Worst descendant: Critical (-0.82) when the color comes from something below. A sage dot means Kubernetes reports the object healthy and it has no recent logs; a gray dot means there is no data for it. The dots refresh every minute while the page is open.

Logs, traces and metrics for an entity

Under an entity's details, the Last hour section shows its telemetry in tabs:

  • Patterns and Log Samples: the log patterns and recent log lines of the entity, or of the pods it owns. Shown for clusters, nodes, namespaces, workloads, Services and pods.

  • Traces and Metrics: when the entity runs a traced service, the service's operations (busiest first, with requests, errors and p95) and its metrics explorer, as on the service page. These two tabs appear on a workspace's Topology page, not on a source's Topology tab. Dstl8 matches an entity to its service automatically.

When an entity maps to more than one service (one deployment serving several, for example), a service picker above the tabs switches between them. Open service opens that service's full page. Click an operation row to see the service's traces.

Reading blast radius

Select any entity and its detail panel lists both directions: outgoing relationships (what it owns, targets, or uses) and incoming ones (what runs on it, targets it, or depends on it). Selecting a Node, for example, immediately shows every pod scheduled on it; selecting a Service shows the ingresses routing to it and the pods behind it. That's the "what breaks if this goes away" question, answered before you drain the node.

Nothing showing? The empty state means the workspace has no Kubernetes source yet, or the cluster agent hasn't produced a snapshot. Add a Kubernetes source, and give a fresh agent up to 30 minutes.

In the TUI

dstl8 tui adds a Topology tab to any workspace that has a Kubernetes source. It renders the same resource tree as the web Explorer, navigable from the keyboard:

Key
Action

↑ ↓

Move through the resource tree

Enter

Expand / collapse the selected entity

→

Expand

←

Collapse / jump to parent

c

Switch cluster (when several have topology)

From the CLI

dstl8 topology (alias: topo) exposes the graph for scripts, quick checks, and AI agents. All subcommands accept --json for raw output.

dstl8 topology view

Prints the resource tree (alias: tree). With one cluster reporting, the cluster argument is optional.

Flag
Description

--kinds

Comma-separated kind filter (e.g. deployment,pod,service)

-n, --namespace

Restrict to one namespace

--json

Raw JSON output

dstl8 topology impact

Shows what depends on a component and what it depends on. The argument is kind/namespace/name — omit the namespace for cluster-scoped kinds:

Flag
Description

-c, --cluster

Cluster key (from dstl8 topology clusters)

--depth

Traversal depth, 1–5 (default 3)

--direction

dependents, dependencies, or both (default both)

--json

Raw JSON output

Typical uses: check what's riding on a node before draining it, list everything downstream of a service before a risky deploy, or let an MCP-connected agent pull --json impact data while investigating an incident.

Last updated