cka-sim/tracks
vumast3r 1cd963e8b5 fix: stop the session baseline from restarting the scheduler and controller-manager
RESTORE_BASELINE ran `sed -i` on the scheduler and controller-manager
manifests before every session, whether anything needed fixing or not. sed
writes its temp file (sedXXXXXX) into /etc/kubernetes/manifests, the kubelet
loads it as one more static pod and kills the running one, so every session
start sent both into CrashLoopBackOff for up to minutes - while that
session's tasks were being seeded. New namespaces got no default
ServiceAccount, so their bare Pods were rejected, and Pods sat unscheduled.
The practice cluster's kubelet journal showed the sed churn at each session
start, and kube-controller-manager had restarted 10 times.

Manifests are now edited through `medit`: only when an edit changes the
content, and via a hidden temp file (the kubelet ignores dot-files) moved
into place. mkns waits 90 s for the ServiceAccount instead of 30 and fails
loudly instead of silently.

Verified on a throwaway cluster: three no-op baselines cause zero restarts;
a scheduler command typo, an injected controller-manager flag and an
apiserver command typo are all still repaired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mhxm4rsUfuE5HoytYbu2YW
2026-09-24 12:38:59 -06:00
..
cka fix: stop the session baseline from restarting the scheduler and controller-manager 2026-09-24 12:38:59 -06:00
ckad fix: repair the CKA bank and harness after a live audit; add Simulator Set D 2026-09-22 21:59:35 -06:00
cks fix: repair the CKA bank and harness after a live audit; add Simulator Set D 2026-09-22 21:59:35 -06:00
__init__.py feat: add CKA/CKAD/CKS exam simulator and question banks 2026-09-06 19:06:10 -06:00