Turn a failure you have fixed into a lab

LabCluster is built in the open by the people who use it. The most valuable contribution is a lab: a realistic failure you have debugged, packaged so others can practise it. A lab is YAML and shell, so you do not need to know Go, and you can build and test one on your laptop or in a browser-based dev environment.

Write a lab

A scenario that starts broken, a guided flow, or a playground. Your GitHub username goes on the lab page.

Lab guide →

Improve the platform

The website, console, session controller and grader are one Go program with tests. Pick an issue labelled good first issue.

Contributor guide →

Report or propose

Found a wrong fact, a confusing hint or a bug? Have an idea for a lab you cannot write yourself? Open an issue.

Open an issue →

Your first lab in six steps

  1. Fork and clone. Or open the repository in GitHub Codespaces: the dev container installs Go and the cluster binaries for you.
  2. Scaffold. make new-lab ID=pvc-pending-no-storageclass TRACK=0-foundations copies the template into labs/.
  3. Write it. Describe the goal, add the manifests that set up and break the cluster, a reference solution, and the checks.
  4. Test it. make validate checks the schema. make lab-test LAB=<id> starts a real cluster, proves the lab starts broken and that your solution scores 100.
  5. Add your author page. Copy labs/_authors/_template.yaml to labs/_authors/<your-github-username>.yaml and write your name and a short bio. Put your username in the lab's authors: and your page lists the lab at /authors/<username>, and every lab you add after it.
  6. Open a pull request. CI runs the same tests. A maintainer reviews the content for accuracy and clarity, and once merged the lab ships with the next deploy.
labs/pvc-pending-no-storageclass/
  lab.yaml          title, goal, cluster, checks, hints, further reading
  setup/*.yaml      what a healthy cluster looks like before the failure
  faults/*.yaml     the failure the learner must fix
  solution/fix.sh   the fix a learner would make; CI runs it

What makes a great lab

  • It starts from a failure that happens in real clusters, and the goal says what "fixed" means in one or two sentences.
  • The rules are explicit (do not change node capacity, do not delete the quota), and hidden checks enforce them.
  • The reference solution is what a learner would actually do, not the shortest command that passes.
  • Hints climb from "where to look" to "what to change" without giving the answer away in the first one.
  • Three "In production" lines say what is different on a real cluster, and further reading links to official documentation.

Tracks that need labs

By contributing you agree to the code of conduct. Platform code is Apache-2.0; lab content is CC BY 4.0.