// the find
rohitg00/k8sgames
Learn Kubernetes by playing. Deploy pods, fix CrashLoopBackOff, type real kubectl commands: 3D browser game, no install needed.
A browser-based 3D Kubernetes simulator built on Three.js where you type real kubectl commands to deploy workloads, diagnose incidents, and fix cluster problems. Aimed at developers preparing for CKA or just trying to build muscle memory with kubectl without spinning up a real cluster. No install, runs entirely in the browser.
The kubectl command bar accepts actual command syntax (get pods, describe, scale, drain) rather than button-clicking, which means the muscle memory transfers to real clusters. 29 incident types covering the incidents you'll actually hit in production — OOMKilled, CrashLoopBackOff, ImagePullBackOff, HPA flapping — not just toy scenarios. The 3D visual of ownership chains (Deployment → ReplicaSet → Pod) filling in based on label selectors is a genuinely good way to make that mental model concrete. No bundler, no build step, served from a plain HTTP server — easy to fork, modify, and self-host.
~50K lines of vanilla ES6 with no types and no tests is a maintenance cliff. Contributing or extending it will be rough as the codebase grows. The simulation is necessarily a lie — real kubectl against a real API server behaves differently in edge cases (admission webhooks, RBAC enforcement, etcd latency), so the muscle memory for commands is good but the mental model of how K8s actually works under the hood may not fully transfer. No offline mode or PWA support, which limits use in workshops or conference demos with flaky WiFi. Campaign progression and achievements are stored client-side only, so there's no way to pick up where you left off on a different machine.