Training repository for achieving Kubestronaut status through hands-on practice exercises.
Kubestronaut is the highest level of Kubernetes certification achievement, awarded to individuals who have earned all five Kubernetes certifications from the Cloud Native Computing Foundation (CNCF) and The Linux Foundation.
- Docker or Podman
- kubectl
- kind (included in Nix flake)
Using Nix:
nix developOr install manually: kubectl, kind, helm, k9s, trivy
-
Setup environment:
nix develop # or install tools manually kind create cluster --config=configs/cluster/kind-single-node.yaml -
Generate exercises: Ask a tutor to create exercises for your target certification
-
Practice with Training Mode: Get hints and guidance while learning
-
Test with Exam Mode: Validate without assistance under exam conditions
- Use a certification tutor agent to create exercises for a topic
- Start in Training Mode for initial practice with hints
- Complete exercises and validate with
/validate-exercise - Switch to Exam Mode for realistic exam simulation
- Retry exercises without assistance to build confidence
Complete all five certifications in this recommended order:
- KCNA - Kubernetes and Cloud Native Associate (foundational)
- KCSA - Kubernetes and Cloud Native Security Associate (foundational)
- CKAD - Certified Kubernetes Application Developer (performance-based)
- CKA - Certified Kubernetes Administrator (performance-based)
- CKS - Certified Kubernetes Security Specialist (performance-based, requires CKA)
exercises/- Practice exercises organized by examkcna/- Cloud native fundamentalskcsa/- Security fundamentalscka/- Cluster administrationckad/- Application developmentcks/- Advanced security
solutions/- Your working solutions for reference (gitignored)configs/cluster/- Kubernetes cluster configurationskind-single-node.yaml- Fast single-node setup (KCNA/KCSA/CKAD)kind-multi-node.yaml- Multi-node setup (CKA/CKS)
.claude/- Claude Code configurationagents/- Specialized tutors (kcna-tutor, kcsa-tutor, cka-tutor, ckad-tutor, cks-tutor)commands/- Custom slash commands (validate-exercise)output-styles/- Training and Exam modes
Switch between two practice modes:
-
Training Mode (
/output-style training-mode)- Provides hints and fix commands
- Shows time estimates and debugging steps
- Best for learning and initial practice
-
Exam Mode (
/output-style exam-mode)- No hints or help provided
- Only reports pass/fail with actual vs expected values
- Simulates real certification exam conditions
Specialized agents for creating exercises. Invoke by mentioning the topic:
"Create CKAD exercises for multi-container pods"
"Generate CKA troubleshooting exercises"
"Create a CKS network policy exercise"
Agents available:
- KCNA Tutor - Cloud native fundamentals exercises
- KCSA Tutor - Security fundamentals exercises
- CKA Tutor - Cluster administration exercises
- CKAD Tutor - Application development exercises
- CKS Tutor - Advanced security exercises
Each exercise includes:
- Task requirements
- Verification steps
- Time estimates
Validate completed exercises using:
/validate-exercise <exercise-name>Choose the appropriate cluster for your certification level:
Single-node (KCNA/KCSA/CKAD):
kind create cluster --config=configs/cluster/kind-single-node.yamlMulti-node (CKA/CKS):
kind create cluster --config=configs/cluster/kind-multi-node.yamlDelete cluster when done:
kind delete cluster --name kubestronaut-single
# or
kind delete cluster --name kubestronaut-multi- Performance-based exams (CKA, CKAD, CKS) require hands-on Kubernetes cluster access
- Focus on imperative commands and speed for exam efficiency
- Time pressure is critical - practice completing tasks quickly
- Exam environment allows access to kubernetes.io/docs only
- Reference solutions not provided - learn by validation feedback