kubestronaut-sim/cka
vumas3r e761d53a96 feat: show every CKA reference solution the way the exam is done
105 of the 147 CKA reference solutions had you type what nobody types
in the exam: heredoc manifests, sed, JSON patches, kubectl wait, loops,
command substitution, jsonpath into files. Each is rewritten as the
lessons are: a generator and the lines to add in vim, a manifest pasted
from the docs page it names, kubectl edit, ssh NODE and sudo -i, or a
value read off the screen and echoed. The other 42 were commands typed
as they stand already.

A solution can now be parts (sim/bank.py cmd, hand) as a lesson step's
show is. The page and ./ksim solution N render it as Markdown, each
thing to type a block of its own that a click copies, with the edit
beneath it. A solution in parts is its own audit script: load_track
runs its parts, and for each edit by hand the script beside it, so the
solution you read is the one proven. Their separate scripts in
cka/solve.py are dropped, and a task that has both is refused.

./ksim solution lint [N|DOMAIN..] reads what the solutions have you
type against TYPING_TRAPS: the CKA bank is clean. Q49's params gain
the plural stem and shortName the solution spells out (no new draws);
Q103, ported from CKAD Q23, takes a solution of its own.

Audited from a copy with renamed hosts: Q3-Q67 (52 tasks) all solved by
their parts, after two waits were added to the audit scripts (Q43's
DNS record, Q53's Pods); Q68-Q147 still running.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BNSZLLsGXTMBsw17kDunkQ
2026-10-27 20:56:51 -06:00
..
__init__.py Exam simulator for CKA, CKAD and CKS with per-task hosts and a remote desktop 2026-10-13 16:29:33 -06:00
bank_course.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_extra.py Exam simulator for CKA, CKAD and CKS with per-task hosts and a remote desktop 2026-10-13 16:29:33 -06:00
bank_hard.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_net.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_objectives.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_sim_c.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_sim_d.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_storage.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
bank_tshoot.py Exam simulator for CKA, CKAD and CKS with per-task hosts and a remote desktop 2026-10-13 16:29:33 -06:00
common.py feat: add guided lessons; move CKA and CKS to v1.37 on Ubuntu hosts 2026-10-20 20:15:17 -06:00
curriculum.py feat: add guided lessons; move CKA and CKS to v1.37 on Ubuntu hosts 2026-10-20 20:15:17 -06:00
lessons_arch.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
lessons_net.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
lessons_storage.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
lessons_tshoot.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
lessons_work.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
lessons.py feat: show every CKA lesson step the way the exam is done 2026-10-26 20:34:36 -06:00
questions.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
solutions.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00
solve.py feat: show every CKA reference solution the way the exam is done 2026-10-27 20:56:51 -06:00