Expanso Builds a Jev-Based Agent That Reads Pod Logs and Auto-Fixes Stale Kubernetes Labels

aronchick · x · 2026-09-21

Inspired by @dotpem's description of an ideal ops agent, Expanso built a Kubernetes agent on top of Jev that reads pod logs across the cluster, inventories labels in use, compares them with each pod's actual behavior, and automatically applies—or reverts—label changes. Labels drive Service selection, Kyverno policies, and Istio routing, so stale labels mean maximum chaos.

The three-step pipeline: Expanso reads logs and proposes a label change; Jev answers one question—is the evidence supported?; if yes, Kubernetes connectors execute it. Notably, routine log lines never reach the model (only anomaly signals like 5 restarts in 4 minutes or OOMKills get judged), and events are buffered if the network goes down.

Related event: Expanso Ships Jevops Agent to Auto-Fix Stale Kubernetes Pod Labels(3 posts)→

Original post →

More from coding & agent

coding & agent channel →