Skip to content

feat(k8s-tools): add Kubernetes toolchain mixin kit (kubectl, helm, k… - #137

Open
Iamrushabhshahh wants to merge 1 commit into
docker:mainfrom
Iamrushabhshahh:feat/k8s-tools-kit
Open

feat(k8s-tools): add Kubernetes toolchain mixin kit (kubectl, helm, k…#137
Iamrushabhshahh wants to merge 1 commit into
docker:mainfrom
Iamrushabhshahh:feat/k8s-tools-kit

Conversation

@Iamrushabhshahh

Copy link
Copy Markdown
Contributor

Summary

Mixin kit installing kubectl v1.36.2, helm v4.2.2, kind v0.32.0, k9s v0.51.0,
and kustomize v5.8.1 from official release channels, version+SHA256 pinned,
amd64/arm64 detection, schemaVersion "2". kind create cluster runs on the
sandbox's Docker daemon.

Spec choices worth flagging for review

  • Startup command creates /dev/kmsg (absent in the microVM; kubelet inside
    kind nodes crash-loops without it).
  • registry.k8s.io blob redirects to per-region S3 hosts can't be expressed in
    the allowlist grammar yet — documented in the kit README; kind itself is
    unaffected.

Origin

Written for this repo, following the mise/task/trivy kit pattern.

Test plan

  • sbx kit validate ./k8s-tools/ passes
  • ./scripts/test-kit.sh k8s-tools passes (TCK)
  • ./scripts/test-kit-e2e.sh k8s-tools passes under deny-all
    (PASS: TestE2EKit, 151.71s); every domain from sbx policy log, not guessed
  • Manual smoke (claude, arm64): all versions verified; kind create cluster
    → node Ready, kubectl get nodes + helm install OK, also under deny-all

…ind, k9s)

Installs kubectl v1.36.2, helm v4.2.2, kind v0.32.0, k9s v0.51.0, and
kustomize v5.8.1, each from its official release channel, version+SHA256
pinned, with amd64/arm64 detection. Ships a startup command creating
/dev/kmsg (absent in the sandbox microVM, required by kubelet inside
kind nodes) so 'kind create cluster' works out of the box on the
sandbox's Docker daemon.

Signed-off-by: Iamrushabhshahh <rushabhshah842@gmail.com>
@Iamrushabhshahh
Iamrushabhshahh requested a review from a team as a code owner July 9, 2026 13:46
@Iamrushabhshahh

Copy link
Copy Markdown
Contributor Author

@mdelapenya Would it be possible to take a look and let me know? I've tried implementing it using the v2 spec, but I'd appreciate your feedback.

@dirien dirien mentioned this pull request Aug 30, 2026
3 tasks
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