homek8s/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sirius DevOps 989a0997fb feat(ci-runners): run the deploy runner in a Kata microVM (staged)
The CI capsule cannot enforce PSA baseline: every nested dockerd needs
SYS_ADMIN+NET_ADMIN in the pod spec and baseline forbids exactly those, which
sysbox, gVisor and Kata all reproduce (measured on both arches, card
t_8aa4af50). What a runtime CAN change is what privileged:true means.

Stage 1, one runner: forgejo-runner-deploy-arm64 (rpi) gets
runtimeClassName: kata-qemu, so its privileged dind and job containers run
inside a QEMU/KVM microVM instead of on rpi's host namespaces. The amd64 and
shared arm64 runners stay on privileged dind under runc, untouched.

Kata-specific plumbing in the same Deployment:
- loop-backed ext4 data-root (16GiB image on the existing claim) because
  overlayfs refuses virtiofs and Docker would silently fall back to vfs;
- binfmt_misc + tonistiigi/binfmt --install amd64 on every start, because the
  guest kernel has no qemu handlers and deploy-site.yml cross-builds amd64;
- the runner waits for /var/run/dind-ready (touched after both are set up).

RuntimeClass kata-qemu is cluster-scoped; the containerd handler lives on rpi
only (/etc/containerd/conf.d/50-kata.toml, kata-static 4.4.0). Rollback is one
field. docs/pod-security.md records the measurement and states plainly that the
namespace stays enforce: privileged.
2026-11-27 02:08:47 -05:00
..
arm64-runner-dind.md ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
cluster-overview.md ci(runners): name the CI capsule ci-runners and mark it privileged in warn/audit too 2026-11-27 01:20:56 -05:00
gateway-access-logging.md docs(gateway): name the real kubelet rotation pattern (n.log.<ts>, not n.log.1) 2026-11-27 02:03:14 -05:00
grafana-persistence.md monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook 2026-11-27 01:23:05 -05:00
hubble-event-loss.md docs(hubble): record the measured post-change numbers as-read (F10) 2026-11-27 00:54:14 -05:00
internal-wireguard-services.md fix(networking): make the public gateway :8080 WireGuard-only 2026-11-27 00:09:14 -05:00
kube-apiserver-audit-logging.md docs(audit): record the read/write split evidence and the pre-split purge 2026-11-27 00:58:12 -05:00
logging.md monitoring(logs): a readable Loki — Logs dashboard + provisioning-reload runbook 2026-11-27 01:23:05 -05:00
monitoring-dashboards.md refactor(monitoring): one CI_RUNNERS_NS constant for the forgejo-runners pod panels 2026-11-27 01:37:39 -05:00
pod-security.md feat(ci-runners): run the deploy runner in a Kata microVM (staged) 2026-11-27 02:08:47 -05:00
registry-pull-auth.md docs(registry): rotate/add-namespace via the SOPS files, not kubectl 2026-11-27 00:22:56 -05:00
secrets-sops.md sops: decrypt on every Flux Kustomization + static guard 2026-11-27 00:57:31 -05:00
site-image-pinning.md apps: re-pin the contact APIs to their new :sha tags 2026-11-02 18:09:48 -05:00