KubeOrbit Live Interactive Walkthrough — Cluster Map, Resource Map, Masked Helm Diff, 12-Step Machine & Ask AI Live UI Sync

If you've worked on a platform or SRE team for more than a year, you've probably sat in this exact meeting.

A backend engineer gets paged for a 503 or a CrashLoopBackOff in staging or production. They ask for cluster access so they can inspect pod logs, check recent events, trace which Service maps to which Ingress, or figure out what changed in the last Helm rollout.

Security immediately pushes back, and honestly, they're right to push back:

"We aren't handing out ~/.kube/config credentials to 200 developer laptops. Lens and K9s let anyone run kubectl exec, edit live YAML, or base64-decode Kubernetes Secrets with a click. And we definitely aren't installing a third-party SaaS agent or pointing an AI chat widget at raw cluster Secrets."

So developers go back to pinging SREs on Slack and waiting for screenshots of kubectl describe pod.

Over the past few months I built KubeOrbit (open source under Apache 2.0) to solve that specific bottleneck. It's a single-container, strictly read-only web portal that connects to GKE, AWS EKS, Azure AKS, and local Kubernetes clusters with zero write permissions, zero Secret value exposure, and zero static cloud credentials.

Here's a quick look at what an engineer sees right after signing in: a unified Cluster Fleet spanning GCP GKE, AWS EKS, Azure AKS, and Local clusters (plus a 4-cloud Register Cluster flow), a live Cluster Map showing node CPU/memory/pod density, and direct drill-downs into Namespace Pods and grouped Logical Applications without installing a local CLI.

KubeOrbit Portal Visual Tour — Register Cluster, Cluster Fleet, Cluster Map, Pods & Logical Applications
KubeOrbit portal tour: (01) Multi-cloud Cluster Fleet & Register Cluster modal, (02) Cluster Map node/pod density gauges, (03) Namespace Pods in kubeorbit-demo, and (04) Logical Applications stack health.

Here's why I made the architectural calls I did, what broke when I actually ran it on Cloud Run, and what I intentionally left out.

Starting with "no write access" as a design constraint, not an afterthought

Most Kubernetes UIs assume RBAC will stop developers from doing damage. In practice, platform teams still have to audit every UI action, every exec shell, and every Secret viewer before SecOps will sign off.

I went the opposite direction and enforced strict read-only safety into the application layer itself:

  • KUBEORBIT_READ_ONLY=true is the default. There is no kubectl exec, no YAML editor, no pod delete button, and cluster mutation routes return HTTP 403 out of the box.
  • Kubernetes Secret values are blocked at every layer. There is no "Reveal Secret" button in the UI, and requesting GET /api/clusters/{id}/manifest?kind=Secret (or secrets.v1 / v1/Secret) returns HTTP 403 at the API layer and raises a PermissionError in the client library. Namespace tables and topology views only ever show Secret metadata (name, type, and key names).
  • No ~/.kube/config collisions or static keys. Every registered cluster gets its own isolated kubeconfig file under ~/.kubeorbit/kubeconfigs/<cluster-id>.yaml. Running on Cloud Run behind Google Cloud IAP, KubeOrbit reaches GKE through Service Account impersonation, AWS EKS through GCP OIDC Workload Identity (sts:AssumeRoleWithWebIdentity), and Azure AKS via Entra Federated Identity. No static AWS keys or JSON key files sitting in environment variables.

Namespace Secrets Metadata Only
Namespace Secrets tab in KubeOrbit: only name, type, and key count are returned. No reveal button, and Secret YAML requests return HTTP 403.

Diffing Helm revisions without leaking rotated secrets

One of the fastest ways to debug a bad deployment is asking "what actually changed between Revision 1 and Revision 2?" The problem is that Helm values and rendered manifests routinely include database passwords, API tokens, or inline Kubernetes Secret objects.

In KubeOrbit's Helm suite (Releases, Version History, and Diff Versions), all secret data and credential-like fields (password, token, api_key, private_key) are masked on the server before JSON ever leaves FastAPI. Instead of stripping the line completely, the server replaces the value with a short deterministic SHA-256 fingerprint like ***MASKED*** (fp:cf66ab76).

When Revision 2 rotates an apiToken, the diff shows fp:cf66ab76 changing to fp:cf72aaa6. You immediately know a secret rotated and could be the reason pods started failing, without the browser or any AI model ever seeing the plaintext token.

Helm Diff Viewer with Masked Secret Fingerprints
Helm Diff Viewer comparing storefront-web Rev 1 vs Rev 2. Rotated credentials show a changed server-side SHA-256 fingerprint without exposing the secret value.

Bringing the 12-Step kubectl apply Machine to life

Even with clean tables for pods and events, junior developers (and tired on-call engineers at 2 AM) still spend too much time connecting the dots between a Pending pod, an unbound PVC, a failing readiness probe, and an Ingress returning 503.

I took inspiration from Deepak Agrawal's popular "The kubectl apply Machine" post (infra360.io) and rebuilt that mental model as a live, interactive SVG wired directly to the Kubernetes API. Instead of a static diagram, every node and path lights up from real cluster state:

  • Steps 1–6: kubectl, authn, RBAC, mutating/validating admission, and etcd.
  • Steps 7–8: Deployment and ReplicaSet reconciliation, plus PodSecurity and ResourceQuota rejections where a ReplicaSet wants replicas but creates zero pods.
  • Step 9 (kube-scheduler): Catches Pending pods and breaks down why (insufficient CPU/memory, untolerated taints, affinity mismatches, or unbound PVCs).
  • Step 10 (kubelet): Splits into four sub-stages: CSI/Secret mounts (10a), CNI sandbox/IP allocation (10b), image pulls like ImagePullBackOff (10c), and container runtime crashes like CrashLoopBackOff or OOMKilled (10d).
  • Step 11: Highlights running pods failing their readinessProbe (0/1 Ready).
  • Step 12: Flags Services whose label selectors match zero ready pods in EndpointSlice.

You can click any numbered step or stall card to filter folded root-cause cards below, or hit "Replay 12-Step Flow" to walk a teammate through the exact failure point.

Live 12-Step Diagnostics Machine
Live 12-Step Diagnostics on a GKE sandbox cluster showing intentional Step 9–12 stalls. Visual concept inspired by Deepak Agrawal (infra360.io).

When you want to trace a single namespace instead of cluster-wide pipeline stalls, the Resource Map, Network Topology, and Storage Topology views lay out Ingress → Service → Deployment → Pod → ConfigMap/PVC relationships without running six separate kubectl get commands:

Interactive Resource Map for kubeorbit-demo
Interactive Resource Map for kubeorbit-demo showing Deployment, Service, Pod, ConfigMap, Secret metadata, and Ingress relationships with a slide-out inspector.

Making the AI drawer actually useful (and safe)

I didn't want another bolted-on chat box that dumps walls of unformatted JSON and covers half the screen.

KubeOrbit ships with a docked, resizable split-pane Ask AI drawer backed by Google ADK (using Vertex AI Gemini with zero API keys by default, plus pluggable Anthropic Claude and OpenAI placeholder hooks via Google ADK's LiteLLM bridge), talking to 27 strictly read-only MCP tools over the AG-UI v1.0 SSE protocol.

Two details made a big difference in day-to-day usability:

  1. Interactive tool cards instead of raw JSON dumps. When the agent calls get_namespaces or get_helm_releases, you get clickable namespace pills, status badges, and action buttons directly inside the drawer, with raw JSON tucked inside a collapsed toggle.
  2. Bidirectional Live UI Sync. Clicking a namespace inside an AI tool card and hitting "Network" switches the main canvas right next to the chat drawer to that namespace's Network Topology. And because all 27 tools also run as a standalone FastMCP server (python -m mcp_server.server over stdio or Streamable HTTP), you can connect Claude Desktop, Cursor, or Gemini CLI to the exact same read-only, Secret-blocked boundary.

Split-pane Ask AI Drawer with Network Topology Live UI Sync
Split-pane Ask AI drawer streaming live MCP tool results side-by-side with Network Topology, with clickable Live UI Sync actions.

Where KubeOrbit fits next to existing tools

I still love K9s on my own laptop when I actually need to edit a dev cluster. KubeOrbit isn't trying to replace a full admin IDE. Here's how the trade-offs compare:

Tool Write Access Hard Block on Secret Values Multi-Cloud Keyless WIF 12-Step Visual RCA Masked Helm Diff Built-in AG-UI + MCP License
KubeOrbit None (Read-Only) Yes (403 + masked) Yes (GKE/EKS/AKS) Yes Yes Yes (27 tools) Apache 2.0
Headlamp (CNCF) RBAC write/exec Follows K8s RBAC Local/OIDC No Basic/plugins Plugins Apache 2.0
Lens Desktop Full IDE write/exec Decodes if allowed Local kubeconfig No Helm UI Paid Prism AI Freemium / Pro
K9s Full TUI write/exec Decodes (x) Local kubeconfig No Basic Plugins Apache 2.0
Komodor Guarded writes Enterprise RBAC In-cluster agent Change timeline Change tracking Commercial AI Enterprise
HolmesGPT / K8sGPT Mostly read-only --anonymize (K8sGPT) Local / operator Text/Slack No MCP (K8sGPT) Apache 2.0

The real bugs I hit profiling Cloud Run latency

Once I deployed KubeOrbit to Cloud Run against a live GKE cluster, the UI felt sluggish even though the code looked fine locally. Opening Cloud Run request logs turned up a few embarrassingly real bottlenecks:

  • Cold /info was taking 12.2s, /helm was taking 32.6s cold (and 870ms warm), and /topology/map took 1.54s.
  • A synchronous GCP Secret Manager config refresh was blocking API requests every 15 seconds. Moving that to a non-blocking background thread with a 120s TTL killed the random stalls.
  • Views that don't even show CPU or memory bars were still shelling out to kubectl top pods on every load. Passing include_metrics=False on non-metrics routes saved hundreds of milliseconds immediately.
  • On clusters without Gateway API CRDs installed, every Network Topology load was paying for repeated failed gateways and httproutes lookups. Switching to group-qualified Kubernetes SDK calls plus a 300-second negative cache (crd_missing) eliminated the retry storm.
  • Standard FastAPI GZipMiddleware buffers Server-Sent Events, which broke smooth AI streaming. Writing a small SSEAwareGZipMiddleware that skips /ai/ag-ui gave me compressed JSON/JS without hurting streaming.
  • Adding <link rel="modulepreload">, versioned static asset caching, and a small client-side Stale-While-Revalidate cache brought warm /info, /nodes, and /topology/network responses down to 2–5ms, warm /helm from 870ms to 2ms, and revisiting tabs in the browser to an instant 0ms paint.

What KubeOrbit intentionally does NOT do (yet)

Being honest about scope matters more than marketing hype:

  • It won't let you apply manifests, exec into containers, or delete pods. That's the whole point.
  • Multi-LLM support for Claude and OpenAI is wired as clean placeholder hooks via Google ADK's LiteLLM adapter (KUBEORBIT_AI_PROVIDER=claude|openai), while Vertex AI Gemini is the live zero-key default today.
  • It's built as a lightweight single-container portal (backed by 116 unit, security, Helm, AG-UI, and concurrency tests), not a heavy multi-region SaaS control plane.

Try it in 60 seconds

git clone https://github.com/naveen-engg/kubeorbit-portal.git cd kubeorbit-portal cp .env.example .env cp config/clusters.example.yaml config/clusters.yaml docker compose up -d --build 

The whole project is Apache 2.0 on GitHub, including Terraform modules for Cloud Run + IAP, GKE, EKS (OIDC WIF), and AKS (Entra Federated Identity), plus a sample-app.yaml that deploys healthy services alongside intentional Step 9–12 failures so you can test the 12-Step Machine locally on Kind, Minikube, Docker Desktop, or GKE.

If you run platform engineering or SRE at a company wrestling with giving developers safe read-only cluster visibility, I'd love feedback on what's missing or where it breaks on your clusters. Open an issue, try it locally, or drop a comment below!