homek8s/apps/base
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
..
customer1 secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
forgejo feat(ci-runners): run the deploy runner in a Kata microVM (staged) 2026-11-27 02:08:47 -05:00
metabase secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
netsec netsec(collector): gzip on rotate so 960 MiB holds ~72-100 h of flows 2026-11-27 01:09:57 -05:00
osint secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
piedmont contact APIs: pin the images carrying the F13 bounded _hits fix 2026-11-27 00:57:17 -05:00
secops secops(f6): de-privilege CI job containers + runner uid, add Pod Security labels (#54) 2026-11-27 05:42:39 +00:00
sirius-growth contact APIs: pin the images carrying the F13 bounded _hits fix 2026-11-27 00:57:17 -05:00
siriusdevops contact APIs: pin the images carrying the F13 bounded _hits fix 2026-11-27 00:57:17 -05:00
README.md Initial HomeK8s tree matching lab GitOps layout. 2026-09-10 23:38:04 -04:00

apps/base

One directory per app (namespace, workload, service, HTTPRoute). Overlays in apps/home select what this cluster runs.

HTTPRoutes should parentRefs the Gateway:

parentRefs:
  - name: public
    namespace: gateway-system