Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/vm-tests/k8s-nats.nix
Author SHA1 Message Date
atlas
62cc95671d bind health listeners to the pod's loopback and probe them by exec 2026-11-28 00:48:30 +01:00
maia
6a50769269 k8s: the store-credential unit starts at fork, off the boot and switch path
`swarm-bao-store-auth` was a retrying oneshot on multi-user.target. A
oneshot's start job stays pending through its restarts, so a boot or a switch
with the secret store sealed waited on it for up to 15 minutes, the same
shape as #6901's CA publisher.

It is now `Type=simple` with the shared retry kept: the start job is done at
fork and the unit keeps trying until the store answers. `RemainAfterExit`
leaves it `active (exited)` once the credential is out, and the 15-minute
start timeout goes, as a start job done at fork has no use for it. Nothing
orders after the unit: the gateway reads the file at its next reload and the
pods wait in ContainerCreating for the Secret.

`is-active` is now true while the script runs and `systemctl restart` returns
at fork, so the k8s-services and k8s-nats tests wait for `SubState=exited` where they relied
on either.

Closes #6937
2026-11-27 21:59:28 +01:00
atlas
893b693b46 the queue's exporter asks every request for a login the gateway supplies 2026-11-27 21:37:14 +01:00
atlas
67218f4052 k8s: deny ingress to every pod by default 2026-11-27 21:30:12 +01:00
atlas
df4058d2f7 k8s vm tests: create the agent netns before k3s starts a pod, and delete pods strictly again 2026-11-27 21:29:38 +01:00
atlas
44670249b6 require k8s: swarm services with a pod run in the cluster only 2026-11-27 21:29:38 +01:00
Renamed from nix/vm-tests/k8s-nats-switch.nix (Previous history)