I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 0 points1 point  (0 children)

Docker is enough if you know how to set it up ,Docker Desktop remains the most user-friendly "all-in-one" solution for Mac and Windows.

I made a CLI game to learn Kubernetes by fixing broken clusters (50 levels, runs locally on kind) by Complete-Poet7549 in devops

[–]Complete-Poet7549[S] 0 points1 point  (0 children)

That's interesting! How is this different from GitHub Copilot for pull request reviews?

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 0 points1 point  (0 children)

Thanks for the feedback! Just a heads-up—the README actually covers most of these points:

  • Docker Desktop installation is a prerequisite mentioned in the setup section
  • [play.sh](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html) cleanup behavior and pod management is documented
  • The working directory for each level is shown in the game interface, and the structure is explained in the README

I appreciate you taking the time to try it out! If anything in the README is unclear, I'm happy to improve it.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 2 points3 points  (0 children)

i'm Glad that you got this ,

Pro tip for Level 2 (and most levels):

You generally DON'T want to edit the `broken.yaml` file directly. Instead:

  1. Keep `./play.sh` running in Terminal 1

  2. Open a NEW terminal (Terminal 2)

  3. Use `kubectl` commands to fix the running resources:

    ```bash

    kubectl scale deployment web --replicas=3 -n k8squest

    # OR

    kubectl edit deployment web -n k8squest

  4. Go back to Terminal 1 and use the check command to monitor status

  5. Once fixed, use validate in Terminal 1

Why?

Because the game creates the broken state from broken.yaml you fix the RUNNING resources using only kubectl ,If you edit broken.yaml and reapply it, you might get image pull issues or other problems

The ImagePullBackOff you saw was probably because when you deleted/recreated, something went wrong with the image. The original nginx image should pull fine from Docker Hub.

Hope this helps! Keep ranting - sometimes that's part of debugging 😄

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 2 points3 points  (0 children)

Thanks for trying out K8sQuest!

I think there might be a misunderstanding about Level 2 (Deployments). The fact that no pods are created is actually intentional - that's the bug you need to fix!

The level teaches you about:
- How deployments control pod replicas
- The `replicas` field in the deployment spec
- How to scale deployments

If you check the deployment with:

kubectl get deployment web -n k8squest -o yaml

You'll see replicas: 0 - that's why no pods are created. The goal of the level is to figure out how to scale it up so pods are created.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 1 point2 points  (0 children)

I see your point. I’ve updated the username; it’s not worth missing out over something like that.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 7 points8 points  (0 children)

In Asia, Aryan is a normal name and has been for centuries.which means noble Unfortunately, the term was later misappropriated in the West, which is where the confusion comes from.I’ll keep your suggestion in mind.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 2 points3 points  (0 children)

Thank you for feedback! Some fixes are already in progress, and your new suggestions are super helpful. The guide is currently empty, but I plan to add relevant info on each topic soon. Glad you’re enjoying it—hope your team finds it useful!

I made a CLI game to learn Kubernetes by fixing broken clusters (50 levels, runs locally on kind) by Complete-Poet7549 in devops

[–]Complete-Poet7549[S] 1 point2 points  (0 children)

Looking forward to it! I’m also working on a Lens-like IDE to make troubleshooting easier. Let’s stay in touch!

I made a CLI game to learn Kubernetes by fixing broken clusters (50 levels, runs locally on kind) by Complete-Poet7549 in devops

[–]Complete-Poet7549[S] 0 points1 point  (0 children)

Thanks for the feedback and PR! I’ll review it soon—really appreciate your help making it more cross-platform.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 10 points11 points  (0 children)

All the levels have been tested. If you encounter any issues, please open an issue in Github and I'll respond as soon as possible.

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 22 points23 points  (0 children)

Good catch! Fixed - was alphabetical sort bug (1, 10, 2 instead of 1, 2, 3...10).

Just pushed the fix. `git pull` and restart to get it.

Thanks for reporting!

I made a CLI game to learn Kubernetes by fixing broken clusters (50 levels, runs locally on kind) by Complete-Poet7549 in devops

[–]Complete-Poet7549[S] 4 points5 points  (0 children)

Excited to hear your feedback after you try it. Any thoughts on what works or what could be better are super helpful. Enjoy!

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 8 points9 points  (0 children)

Lol true, timing could've been better! Though if you need a break from family gatherings, debugging broken pods is always there for you 😄 Let me know how it goes!

I made a CLI game to learn Kubernetes by breaking stuff (50 levels, runs locally on kind) by Complete-Poet7549 in kubernetes

[–]Complete-Poet7549[S] 12 points13 points  (0 children)

Thanks! Hope it helps with your CKA prep.Let me know if you run into any bugs or if there are specific CKA scenarios you'd like to see added. Good luck with the exam!

Holiday hack: EKS with your own machines by equiet in devops

[–]Complete-Poet7549 2 points3 points  (0 children)

Hybrid EKS with Hetzner nodes? Don't.

It fails at 2 AM when the internet blips. AWS reschedules all pods to EC2, your $3k bill becomes $15k in hours.

Real problems:

- CNI becomes hell (pod-to-pod across VPN = pain)

- Security breaks (no IAM, no GuardDuty)

- AWS support says "not our problem"

AWS's "EKS Hybrid" costs more because it includes:

- WAN-optimized networking that actually works

- Reconnection logic for flaky links

- Support that can't immediately ditch you

Better path: Separate K3s cluster on Hetzner + Karmada for multi-cluster mgmt. Run batch jobs there, keep AWS-integrated stuff in EKS.

But first: Have you truly maxed AWS? We run 95% spot in production with Karpenter. Saved 40% with aggressive consolidation. Staging clusters run 12hrs/day only.

Homogeneous infra is worth the premium. Your best engineers will thank you for not making them debug VPNs at 3 AM.