Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s
Author SHA1 Message Date
atlas
d1554def7a k8s: pods log in to the secret store with their ServiceAccount token
The store gets a listener for the pods that asks for no client certificate,
open on the pod network's interfaces only, and a jwt auth mount with one
role per in-cluster service. The rendered pods run under a ServiceAccount
with a projected token in place of their client certificate.
2026-11-27 18:07:59 +01:00
atlas
dbcc47573e k8s: pod logs and metrics reach the hive collector 2026-11-27 18:07:59 +01:00
atlas
cb54519be8 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-27 18:07:59 +01:00
atlas
1f61be83e6 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-27 18:07:59 +01:00
atlas
40c5b3f5da k8s: render the in-cluster services' manifests from their units
services.hyperhive.k8s.enable renders a Deployment (swarm-controller,
swarm-notify-router) or CronJob (swarm-ci-metrics) per service this host
deploys into system.build.k8sManifests. The renderer reads each evaluated
unit: its environment, LoadCredential ids, state and runtime directories,
ExecStart and timer. Files the unit names are mounted at the same paths, so
the environment carries over as it is. Secrets are referenced by name only.

No unit changes. checks: k8s-manifests-all-local (kubeconform -strict,
offline schemas) and module-eval-k8s; the allLocal fixture turns the
rendering on.
2026-11-27 18:07:59 +01:00