EnvMap GitHub

A Kubernetes cluster you can walk into: how EnvMap's 3D city is built

Most Kubernetes tools are tables. EnvMap also draws the estate as a city you can walk through, where a failing pod stands at the door of its building holding a sign with its reason. It looks like a toy. It is built on three rules that make it honest. The picture never claims more than was read. The game is won only when the cluster itself says so. And the AI doctor uses the same front door as any other client.

EnvMap reads Kubernetes clusters, GitOps repositories, pipelines, certificates and hardware, and shows them as tables and cards like any dashboard. Since November 2026 it can also show its clusters as a 3D city. You choose a character, walk the streets, go into a building, and talk to the pods inside.

You can play it now, on a pretend estate, in your browser: envmap.tech/play. This post is about how it is built, and about the rules that keep a game from lying about a production system.

The city is a picture of facts#

Every cluster is a building. It is put together the way a cluster is. The base is the control plane, with the one door in. Above it is a deck for each machine, up to twelve, with the pods standing on the decks. On the roof turns a ship's wheel with seven spokes, the helm Kubernetes is named for.

Everything on a building is a fact about that cluster:

You seeIt means
The wheel on the roof is blue and turningThe cluster is well
The wheel is red, with a column of red light into the skyThe cluster needs somebody
Red blocks flashing on the decksFailing pods
A storm cloud with rain and lightningOne or more machines are not ready
A dark building with cones at the door and NO SIGNALThe cluster did not answer

Outside a building with failing pods stand up to three of them, each holding a placard with its own reason: I KEEP FALLING OVER for a crash loop, MORE MEMORY! for one killed for running out of it.

The city asks no cluster anything itself. It draws the figures the clusters page already has, read again every 12 seconds. So the city can never show something the table does not.

The city from the square: the news screen naming a pod killed for memory, the gate counting 12 clusters, 822 pods and 4 that need help, the list of who needs help, and a roof board for a cluster with one failing pod and one machine down
From the demo's pretend estate. The red wheels and columns of light are the clusters that need somebody.

Inside a building, every pod is a robot#

Go in through the door and the cluster becomes a room. Each machine is an island, and each pod is a robot standing on the island of the machine it runs on. A robot's face is its state: healthy, failing, crash-looping, not ready, near its limit, no machine for it, starting, terminating or completed. Each one comes from that pod's own row.

Walk up to a pod and press E, and it talks. It shows its logs, what it wrote before its last restart, what Kubernetes says about it, who manages it, which Services send to it, and which settings elsewhere name it. While the page is in view, the cluster is read again about every eight seconds, so a pod you restarted gets up in front of you.

Inside a cluster: walk up to a pod, press E, and it shows its logs, what Kubernetes says about it and who manages it. From the demo, no sound.

The engine can be swapped; the game is the product#

The first engine used no library. It is WebGL with six instanced shapes, so the whole engine is six small shaders and a bloom chain. A pod is a sphere drawn on a flat square: the fragment shader works out the sphere, and the visor, eyes and tears are drawn on its surface. So every pod can turn its head, blink and cry at no extra cost.

The camera is not a matrix. The game already keeps an eye and three unit vectors to work out what you clicked and where to put names. The same four values go to every shader, so the picture and the labels can never disagree about where a pod is.

Then came a new look: real geometry, shadows and a machine hall around the cluster, built on Three.js 0.170. Two attempts rebuilt the place and the figures from scratch on Three.js. They looked right and did nothing. All the behaviour lives in the game's own code, about three thousand lines that say what is where, what each pod says and what each key does. Those attempts had thrown that code away.

The third attempt replaced only the engine. The new one has the same four entry points as the old one (resize, draw, atlas, hdr), and the game hands it a list of shapes each frame as before. Every pod still talks, blinks and cries, the doctor still comes, and none of that code was touched. The old look is still there behind ?look=old.

Actions are real, and so are their rules#

In EnvMap the medkit restarts a workload and the blaster deletes a pod, for real. Each goes to the portal with the same checks as anywhere else in EnvMap:

When you arm the blaster, the game says so: "Every shot is real, and every shot is in the audit log".

The game also teaches something along the way. Delete a pod that a Deployment owns and a new one appears where it stood. The game says why: what manages it, Git or an autoscaler, started a pod where you killed one. Many people learn about reconciliation that way, by trying to kill a pod.

Won only when the cluster says so#

Inside a building the objective is heal the cluster. It is won when the cluster's next read shows nothing failing and nothing that needs a look, and never because the player pressed enough buttons. A restart that does not fix a crash loop does not win: the pod falls over again, the next read says so, and the objective stays open.

The same rule covers a cluster that did not answer. The game draws nothing and says why, because an empty picture would look like a healthy one. EnvMap's tables follow the same rule, as described in When a dashboard cannot see, it must say so.

Walking inside a cluster: pods as robots on their machine's floor, each saying one fact about itself, the objective HEAL THE CLUSTER at the top
The objective at the top counts the pods that still need help. It clears only on the cluster's next read.

The doctor uses the front door#

Press H and the doctor comes. The game does not treat anything itself.

  1. The call becomes a line that EnvMap's MCP server hands to the AI client the person has connected (doctor_calls).
  2. That client examines and treats the pod with its own tools, the same ones any MCP client gets.
  3. It says what it is doing (doctor_note), and the game draws each line as the doctor standing beside the pod it is about.

The pod answers in its own voice, written from what the doctor read in its status, events and log.

The visit runs as the person who called it, with their permissions and nothing more. When the doctor is Claude Code running without a keyboard, its questions about permissions come into the 3D view (doctor_permit). A tool that only reads is asked about once per visit. A tool that changes something is asked about every time, with exactly what it was given, and allowing it there widens nothing, because the tool still passes its own checks. A client that does not say which model it is appears as a robot under a green cross.

Eight people in the streets#

The city has eight characters: a DevOps engineer, a DevSecOps engineer, a NOC engineer, a network engineer, a CEO, a project manager, a QA engineer and a DBA. You play as one of them, and the others stand in the streets. Each tells you how the clusters are, in its own words, and asks Kubernetes questions in its own subject: security, networking, scheduling, storage. Answer one and it cheers. The first time, it also gives you something to keep: the project manager's is a confetti cannon, on B.

There are 137 questions. Each is a fact about Kubernetes itself, true of any cluster, and a test checks the shape of every one. The questions turn out to be the part that teams who are not engineers enjoy most.

The demo on envmap.tech has no server#

envmap.tech/play is the game's own scripts, copied unchanged except for their paths. What they would ask a portal for is answered in the browser, from a pretend estate of twelve clusters, by one small file. Nothing leaves the page, and closing the tab forgets it. Its doctor is a short script, so the chat calls it Claude (demo), not Claude. On a phone or tablet, a stick and a button for each key appear, and they press the same keys the game listens for, so the game itself did not change.

Try it#

Play it in your browser: envmap.tech/play. To run it on your own clusters, read-only until you switch management on:

bash
helm install envmap oci://ghcr.io/ammar-hassoun/devops-portal-charts/config-portal \
  --namespace envmap --create-namespace

Then open Clusters → Enter the city. More: how the city and the 3D view work, connecting the doctor, and the code on GitHub.

Claude and Claude Code are trademarks of Anthropic. EnvMap is an independent open-source project, not made, endorsed or sponsored by Anthropic.

EnvMap home · Docs · GitHub