Repository navigation
FAQ
ckad-dojo is a local CKAD (Certified Kubernetes Application Developer) exam simulator. It provides realistic practice sessions with timed exams, automated scoring, and a web interface similar to the real exam environment.
There are 178 questions across 9 themed dojos. Each dojo has 17-21 questions and runs for 120 minutes.
A Kubernetes cluster running version 1.28 or higher. You can use minikube, kind, kubeadm, or any other distribution.
No. ckad-dojo is a practice tool for educational purposes. The questions cover the same domains as the CKAD exam, but the format and specific questions are different. The real exam uses a PSI browser-based environment.
Not directly. ckad-dojo uses uv as a Python package manager and runner. uv handles Python installation and dependency management automatically.
If you prefer not to use Python/uv at all, you can use the Bash scripts directly:
./scripts/ckad-exam.shDocker is required for questions involving container image building and the local registry (localhost:5000). Most questions work without Docker, but some (like building and pushing images) will not score correctly.
The web interface works in any modern browser. You can specify a browser with the --browser flag:
uv run ckad-dojo exam start --browser firefoxSupported values: firefox, chrome, chromium, brave, default.
# Interactive menu (recommended)
uv run ckad-dojo
# Direct command
uv run ckad-dojo exam start -e ckad-simulation1Yes, if the exam allows it. Most exams have ALLOW_TIMER_PAUSE=true in their configuration. Use the pause button in the web interface header.
To disable pausing for a more realistic experience:
./scripts/ckad-exam.sh web --no-pauseYes:
uv run ckad-dojo exam start -e ckad-simulation1 -q 5
# or
./scripts/ckad-exam.sh web -q 5Some dojos include 1-2 preview questions (displayed before Question 1) that do not count toward your score. They help you familiarize yourself with the exam format.
Yes:
./scripts/ckad-exam.sh web --no-hintsYour working directory for answers is ./exam/course/N/ where N is the question number. This maps to /opt/course/N/ in the exam text.
Kubernetes resources should be created in the namespace specified for each question.
# From the web UI: click "Stop Exam"
# From CLI:
uv run ckad-dojo score -e ckad-simulation1
# Or directly:
./scripts/ckad-score.sh -e ckad-simulation166% for all dojos, which approximates the real CKAD exam threshold.
Common causes:
- Wrong namespace: Verify the resource is in the correct namespace (check the question metadata)
- Wrong name: Resource names must match exactly (case-sensitive)
-
Wrong file path: File outputs must be in
./exam/course/N/filenameexactly as specified - Resource not ready: Some resources need time to become ready; wait and re-score
Yes:
./scripts/ckad-score.sh -e ckad-simulation1 -q 5# Check what's using the port
lsof -i :9090
# Use an alternative port
./scripts/ckad-exam.sh web --port 8888The terminal requires ttyd to be installed. Check with:
ttyd --versionIf ttyd is not available, the exam will run without the embedded terminal. You can use a separate terminal window instead.
To explicitly disable the terminal:
./scripts/ckad-exam.sh web --no-terminalThe local Docker registry requires configuration:
# Add to /etc/docker/daemon.json:
{ "insecure-registries": ["localhost:5000"] }
# Then restart Docker:
sudo systemctl restart dockerThe ingress-nginx controller may not be running:
# Check status
kubectl get pods -n ingress-nginx
# Restart controller
kubectl rollout restart deployment ingress-nginx-controller -n ingress-nginx
# Or install if missing
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
# Workaround: delete the webhook
kubectl delete validatingwebhookconfiguration ingress-nginx-admissionIf cleanup is stuck on namespace deletion:
# Check for stuck namespaces
kubectl get namespaces
# Force-delete a stuck namespace (last resort)
kubectl get namespace <ns> -o json | jq '.spec.finalizers = []' | kubectl replace --raw "/api/v1/namespaces/<ns>/finalize" -f -Always clean up the current exam before starting a new one:
# Cleanup current exam
uv run ckad-dojo cleanup -e ckad-simulation1
# Start new exam
uv run ckad-dojo exam start -e ckad-simulation2The exam launcher will also detect existing resources and offer to clean up automatically.