Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s/render.nix
Author SHA1 Message Date
atlas
142acad8b8 a pod with a state volume starts only on a migrated or fresh volume 2026-11-27 21:29:37 +01:00
atlas
dd7de4d1e1 nats: runtime k8s runs the queue and its auth callout as one pod 2026-11-27 21:29:37 +01:00
atlas
d6f0b07ff1 k8s: deploy.swarm-controller.runtime moves the controller between its unit and the cluster 2026-11-27 21:29:37 +01:00
atlas
b5c7240442 k8s: deploy.review-classifier.runtime and deploy.claude-login.runtime move the claude daemons between their containers and the cluster 2026-11-27 21:29:37 +01:00
atlas
cd1fe02b1f k8s: deploy.ci-metrics.runtime moves the CI run poller between its timer and the cluster 2026-11-27 21:29:36 +01:00
atlas
e1c1bad51a k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-27 21:29:36 +01:00
atlas
68580a8725 k8s: deploy.stt.runtime moves the speech-to-text service between its container and the cluster 2026-11-27 21:29:36 +01:00
atlas
30567ad28f k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-27 21:29:36 +01:00
atlas
40519f9123 k8s: a pod's public CA files come from a ConfigMap, not a Secret 2026-11-27 21:29:36 +01:00
atlas
7fff98687c 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 21:29:36 +01:00
atlas
4ec7513b1b k8s: pod logs and metrics reach the hive collector 2026-11-27 21:29:36 +01:00
atlas
53e43a990d k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-27 21:29:36 +01:00
atlas
d2acf3080a 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 21:29:36 +01:00