Skip to content

About

Free, open-source Kubernetes courseware for .NET developers. Run it all on your laptop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMP.KubeLab

Free, open-source Kubernetes courseware for .NET developers. The course runs on your laptop. You need no cloud account or credit card.

Every episode has a short lesson, a lab, and a check script that prints PASS or FAIL. Every command and output in the lessons comes from a real run in this repository.

Status: Phase 0 and Phase 1 (episodes 00 to 09) are built and verified on Windows 11. macOS and Linux have not been run yet. See each episode's "Verified on" table.

Start here

  1. Episode 00: Welcome and setup. Install four tools. Takes 20 to 30 minutes.
  2. Episode 01: Your first container
  3. Episode 02: A cluster on your laptop
  4. Episode 03: Pods that heal and scale
  5. Episode 04: Health checks and safe upgrades
  6. Episode 05: Settings and secrets
  7. Episode 06: Packages with Helm
  8. Episode 07: A front door (Gateway API)
  9. Episode 08: Limits and autoscaling
  10. Episode 09: Seeing inside the pods with logs

Each script comes in a PowerShell version and a bash version. Use .ps1 on Windows and .sh elsewhere.

The whole run, from a clean clone

./scripts/check-tools.ps1
./scripts/cluster-up.ps1
./episodes/01-containers/verify.ps1
./episodes/02-first-cluster/verify.ps1
./episodes/03-self-healing/verify.ps1
./scripts/cluster-down.ps1

On the author's machine, with images already downloaded, the cluster and three checks take about one minute. The first run downloads the 1.34 GB node image plus the .NET build and runtime images, and takes longer. A cold-machine time has not been measured yet (see docs/PRD.md).

What is here

Path What it is
episodes/ One folder per episode: lesson, check script, tasks and answers
app/Hello/ The sample ASP.NET Core service (.NET 10) and its Kubernetes files (k8s/)
scripts/ Tool check, cluster up, cluster down, and the pinned cluster config
docs/PRD.md What this course is, why, acceptance tests, and the spike results
docs/curriculum.json The full plan: 13 episodes with stable ids, in machine-readable form
docs/writing-guide.md The writing rules for every lesson

The plan

Phase Episodes Status
0 00 setup, 01 containers, 02 first cluster, 03 self-healing Built
1 04 probes and rollouts, 05 config and secrets, 06 Helm, 07 front door, 08 limits and autoscaling, 09 logs with Herald Built
2 10 clouds in words, 11 CI with kind, 12 capstone fleet-upload service Planned

Pinned versions

kind v0.33.0. Kubernetes v1.37.0 (node image pinned by digest in scripts/kind-config.yaml). .NET 10. These are the versions the lessons were run on.

License

Apache License 2.0. See LICENSE.

About

Free, open-source Kubernetes courseware for .NET developers. Run it all on your laptop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages