Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s/default.nix
Author SHA1 Message Date
atlas
fc832b85f5 the log and metrics stores ask every request for a credential the gateway supplies
Each store runs with -httpAuth.* and a credential from the secret store, published to the namespace as a Secret by the host. The gateway's locations send it after auth_request has passed, and the collector's scrape and push take the same one, so a process on the node that bypasses the gateway is refused.
2026-11-29 14:02:31 +01:00
atlas
c9d5e72ac9 k8s: deny ingress to every pod by default 2026-11-29 14:02:31 +01:00
atlas
2b58c769b5 require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +01:00
atlas
3d68f94e39 let a second machine join the main node's k3s and run pods from images only the main node holds 2026-11-29 14:02:31 +01:00
atlas
a07e50cfe4 remove swarmctl migrate, migrate.json and the migrate docs 2026-11-29 14:02:31 +01:00
atlas
e1a8fc0dbf k8s: stt's pod runs in a user namespace of its own 2026-11-29 14:02:31 +01:00
atlas
f659b3f220 nix: render migrate.json and wrap swarmctl with kubectl 2026-11-29 14:02:31 +01:00
atlas
080ea99a54 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-29 14:02:31 +01:00
atlas
5fcd86c4a8 k8s: pod logs and metrics reach the hive collector 2026-11-29 14:02:31 +01:00
atlas
cf30c8d861 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-29 14:02:31 +01:00
atlas
1c82336174 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-29 14:02:31 +01:00
atlas
2c6260ff0d 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-29 14:02:31 +01:00