rohitg00/k8sgames
rohitg00/k8sgames has 1,471 GitHub stars and 198 forks. GitHot measured +2 stars in 24 hours, +18 in 7 days, and +43 in 15 days. Last checked 2026-11-11 10:29 UTC. Last push 2026-04-28.
Learn Kubernetes by playing. Deploy pods, fix CrashLoopBackOff, type real kubectl commands: 3D browser game, no install needed.
측정된 스타 증가
- in 24h
- +2
- in 7 days
- +18
- in 15 days
- +43
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalK8s Games
Learn Kubernetes by playing. Deploy pods, fix CrashLoopBackOff, type real kubectl commands — all in a 3D sim that runs in your browser.
Play Now at k8sgames.com | K8s Draw — 3D Architecture Diagrams

Get Started
Visit k8sgames.com and pick a mode. No install, no signup, no build step.
Just here to diagram? Go straight to k8sgames.com/draw — drag K8s resources onto a 3D canvas, draw connections, export YAML or PNG, and share via URL.
Or run locally:
git clone https://github.com/rohitg00/k8sgames.git
cd k8sgames
python3 -m http.server 8080
# Open http://localhost:8080
How to Play
- Pick a game mode from the main menu
- Click resources from the left palette to place them in your cluster
- Drag resources to reposition them anywhere
- Click any resource to inspect it (status, YAML, kubectl describe)
- Right-click for actions (Scale, Delete, Logs, Restart)
- Press
/to open the kubectl command bar - Handle incidents as they appear — diagnose and fix like a real SRE
- Press
?anytime for help
Game Modes
| Mode | What You Do |
|---|---|
| Campaign | 20 levels across 5 chapters. Learn pods, deployments, networking, storage, and production K8s |
| Chaos | Endless survival. Incidents escalate until your cluster breaks. How long can you last? |
| Sandbox | Free build. Design any cluster, get scored 0-100 by the Architecture Advisor |
| Challenges | 10 timed scenarios. Deploy apps, fix outages, race the clock |
K8s Draw (/draw)
A 3D Kubernetes architecture whiteboard. Like Excalidraw but for K8s.
- Drag-drop 21 resource types onto a 3D canvas
- Draw connection lines between resources
- Double-click to rename any resource
- Auto-layout organizes by tier (Nodes, Workloads, Networking, Storage, RBAC)
- Export as YAML (with correct apiVersions) or PNG
- Share diagrams via URL — one-click copy, open anywhere
- Edit properties: name, namespace, labels, replicas
- Right-click to delete,
Delkey for selected
No game logic, no incidents, no scoring — just diagramming.
Controls
| Input | Action |
|---|---|
/ |
kubectl command bar |
? |
Help / How to play |
Space |
Pause / Resume |
M |
Metrics dashboard |
Esc |
Back to menu |
1-9 |
Quick-select resource |
| Left-click | Select resource |
| Left-drag | Move resource or rotate camera |
| Right-click | Context menu |
| Right-drag | Pan |
| Scroll | Zoom |
Bottom toolbar: Auto-Align (K8s architecture layout) | Reset View | YAML (export cluster) | Help
What's In It
25 K8s resources — Pod, Deployment, ReplicaSet, StatefulSet, DaemonSet, Job, CronJob, Service, Ingress, NetworkPolicy, ConfigMap, Secret, PVC, PV, StorageClass, Node, Namespace, HPA, ResourceQuota, PodDisruptionBudget, ServiceAccount, Role, ClusterRole, RoleBinding, ClusterRoleBinding. Each has a unique 3D shape, color, and real K8s behavior.
29 incidents — OOMKilled, CrashLoopBackOff, ImagePullBackOff, node NotReady, DNS failures, PVC pending, API throttling, rollout stuck, certificate expiry, HPA flapping, and more. Investigate with kubectl describe/logs, then fix.
kubectl command bar — type real commands: get pods, describe deployment nginx, scale deployment nginx --replicas=3, logs pod-1, rollout status, drain node-1. Tab completion included.
Visual connections — animated lines show ownership chains (Deployment -> ReplicaSet -> Pod) and network routing (Service -> Pods) based on label selectors. Place a Service and pick which Deployment it connects to.
Edit resources — click Edit on any resource to modify labels, replicas, selectors, and service types. Quick-connect buttons let you wire a Service to an existing Deployment in one click.
Architecture Advisor — scores your cluster design across HA, security, scalability, cost, and 6 other categories.
40 achievements and a 30-level XP system from Novice to CKA-ready.
RBAC simulation — ServiceAccounts, Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings with real rule definitions and wildcard detection.
Tech
Three.js r152 + Tailwind CSS CDN + vanilla ES6 modules. No build step, no dependencies, no bundler. ~50K lines across 90+ files.
License
Apache-2.0
관련 프로젝트 살펴보기
sindresorhus/awesome
😎 온갖 흥미로운 주제에 관한 Awesome 목록 [참고: 기존 풀 리퀘스트를 따라잡을 여유가 생길 때까지 풀 리퀘스트가 일시적으로 비활성화되어 있습니다]
535,581 스타EbookFoundation/free-programming-books
:books: 무료로 이용할 수 있는 프로그래밍 도서
401,468 스타nilbuild/developer-roadmap
개발자의 커리어 성장을 돕는 인터랙티브 로드맵, 가이드 및 기타 교육 콘텐츠.
371,872 스타vinta/awesome-python
“Python으로 X를 하고 싶은데, 어떤 도구를 써야 할까?”에 답하는 결정판 목록.
334,188 스타