Skip to content

docs(labs): fix command and expectation drift found in a full lab QA run - #7

Merged
vvcb merged 6 commits into
karectl:mainfrom
vvcb:main
Nov 11, 2026
Merged

vvcb merged 6 commits into
karectl:mainfrom
vvcb:main

Conversation

@vvcb

@vvcb vvcb commented Nov 11, 2026

Copy link
Copy Markdown

Ran every command in labs 1–10 against a live KID cluster. Most labs passed; this
fixes the places where a command failed or the documented result no longer matches
the environment.

Labs changed:

  • 1: read repoURL with jsonpath (the grep -A3 "source:" never printed it); note
    the known kyverno-policies OutOfSync/Healthy diff.
  • 2: use watch for pods+PVC — kubectl get pods,pvc -w errors with "you may only
    specify a single resource type".
  • 3: grep the endpoint rows showing Enabled/Enabled; the old pattern only matched
    label lines.
  • 6: hitting the 1Gi limit OOM-kills the whole container (memory.oom.group=1,
    RESTARTS 1), not just the Python kernel.
  • 7: stop the server before switching to gamma or retiring the project; delete the
    rogue Keycloak group during cleanup.
  • 8: wait 30s for the PolicyReport (15s is too short).
  • 9: require a running workspace for a meaningful score; use -E for evidence.

Docs only — no chart, policy or code changes. Details and captured output are in
the QA logs (local, gitignored).

Not run: zensical build (no Python in the QA dev container).

vvcb added 6 commits November 11, 2026 09:51
- Add .pi/ project config: 6 mirrored kid-* skills, 2 new skills
  (kid-platform-review, kid-lab-qa), 4 prompt templates, settings.json
- Install Pi in devcontainer.Dockerfile (pinned Node.js + pi.dev installer)
- Document the .pi directory in README.md
The six kid-* skills were copied from .agents/skills/ into .pi/skills/,
duplicating content that Pi already discovers from .agents/skills/. Remove
the copies and keep only the Pi-specific trainer skills in .pi/skills/
(kid-platform-review, kid-lab-qa). Update the README .pi section accordingly.
- Lab 1: read repoURL with jsonpath; note the known kyverno-policies OutOfSync diff
- Lab 2: use watch for pods+PVC (kubectl -w accepts one resource type)
- Lab 3: grep the endpoint rows that show Enabled/Enabled
- Lab 7: stop the server before switching projects or retiring gamma; delete the rogue group
- Lab 8: wait 30s for the PolicyReport
- Lab 9: require a running workspace for a meaningful score; use -E for evidence
The workspace cgroup has memory.oom.group=1, so hitting the 1Gi limit kills
the whole container (OOMKilled, RESTARTS 1), not just the Python kernel.
Describe both outcomes.
docs(labs): fix command and expectation drift found in a full lab QA run
@vvcb
vvcb merged commit f625d64 into karectl:main Nov 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant