Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s/render.nix
Author SHA1 Message Date
atlas
02cc38d89e k8s: stt's pod gets a network policy: dns and four host ports out, nothing in 2026-11-27 11:46:56 +01:00
atlas
4ea3b0e10d k8s: the controller pod keeps no volume; the state gate goes 2026-11-27 11:46:56 +01:00
atlas
140ee7f38a k8s: the queue's pod mounts the host unit's store in place 2026-11-27 11:46:56 +01:00
atlas
a793df9708 k8s: stt and ci-metrics start without a state gate 2026-11-27 11:46:56 +01:00
atlas
394a08d885 a pod with a state volume starts only on a migrated or fresh volume 2026-11-27 11:46:56 +01:00
atlas
a2db26d344 nats: runtime k8s runs the queue and its auth callout as one pod 2026-11-27 11:46:56 +01:00
atlas
a801c0d0e6 k8s: deploy.swarm-controller.runtime moves the controller between its unit and the cluster 2026-11-27 11:46:56 +01:00
atlas
2110f51ff9 k8s: deploy.review-classifier.runtime and deploy.claude-login.runtime move the claude daemons between their containers and the cluster 2026-11-27 11:46:56 +01:00
atlas
5454ebbd4d k8s: deploy.ci-metrics.runtime moves the CI run poller between its timer and the cluster 2026-11-27 11:46:56 +01:00
atlas
eda01b8b1d k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-27 11:46:56 +01:00
atlas
4b4df16e52 k8s: deploy.stt.runtime moves the speech-to-text service between its container and the cluster 2026-11-27 11:46:56 +01:00
atlas
a1d44ed046 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-27 11:46:56 +01:00
atlas
485da0c3c7 k8s: a pod's public CA files come from a ConfigMap, not a Secret 2026-11-27 11:46:56 +01:00
atlas
2a6b0ee00a 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 11:46:56 +01:00
atlas
ba0c41048e k8s: pod logs and metrics reach the hive collector 2026-11-27 11:46:56 +01:00
atlas
9654aa0ac7 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-27 11:46:56 +01:00
atlas
e587fd44cd 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 11:46:55 +01:00