Skip to content

KubeClientlings

Learn Kubernetes client-go the rustlings way — 52 small exercises, fixed one at a time, from clientset setup to controller-runtime operators.

KubeClientlings is a set of small, broken-on-purpose Go programs that talk to a real Kubernetes cluster — rustlings for client-go. An interactive terminal UI re-runs each exercise as you save, and every fix is verified against a local kind cluster, not mocks.

52 exercises

17 topics across a beginner → advanced track: clientsets, informers, workqueues, CRDs, server-side apply, webhooks, and controller-runtime operators.

A real cluster

Every exercise runs against a local kind cluster. You watch real API requests succeed — or get rejected — not stubbed responses.

Instant feedback

A TUI re-runs the exercise on save; it advances only when the program compiles, the linter is happy, and the in-cluster checks pass.

Learn by fixing

No videos, no slides. Read the failing check, fix the code, repeat — the same loop you’ll use debugging real controllers.

Terminal window
git clone https://github.com/madhank93/kubeclientlings && cd kubeclientlings
mise run up # create the local kind cluster
mise run watch # launch the interactive TUI

Prefer zero local setup? Run it in the browser on the iximiuz Labs playground.

See Getting started for the full setup.