Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph

7,040 commits

Author SHA1 Message Date
atlas
65f7a55967 docs: the start gate describes what the pod runs 2026-11-27 11:46:56 +01:00
atlas
360454958a vm-tests: the state gate refuses an empty volume until the marker is written 2026-11-27 11:46:56 +01:00
atlas
10c22d9ffa module-eval: the state gate is every stateful pod's first init container 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
777a0fe53c docs: the queue in the cluster 2026-11-27 11:46:56 +01:00
atlas
3e1d3d0003 vm-tests: k8s-nats-switch moves the queue between its container and the cluster 2026-11-27 11:46:56 +01:00
atlas
580fdaaacb module-eval: the queue's pod, jwt roles, host units, exposure rules and store guard 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
1c8798a3ca bao: the queue pod's two jwt roles share one ServiceAccount 2026-11-27 11:46:56 +01:00
atlas
e7334ad98e docs: the controller's runtime, hostPort hop, listener leaf, state and rev rollout 2026-11-27 11:46:56 +01:00
atlas
713f866030 vm-tests: k8s-controller-switch moves the controller between its unit and the cluster 2026-11-27 11:46:56 +01:00
atlas
8d1b7da541 module-eval: the controller's runtime, hostPort hop, listener leaf and rev rollout 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
c640a89aa0 docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 2026-11-27 11:46:56 +01:00
atlas
931ce8c016 vm-tests: k8s-runtime-switch moves the review classifier and the claude login minter with the router 2026-11-27 11:46:56 +01:00
atlas
c0ce50c48e module-eval: the claude daemons' units, host-mode containers, pods, jwt roles and refusals 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
d747a63ca8 docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 2026-11-27 11:46:56 +01:00
atlas
9ca8a6eebf vm-tests: k8s-runtime-switch moves the CI run poller with the router and the speech-to-text service 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
6665567826 vm-tests: k8s-runtime-switch moves the speech-to-text service with the router 2026-11-27 11:46:56 +01:00
atlas
f0573125fb docs: the speech-to-text service's runtime, limits and cache volume 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
371ddedef2 vm-tests: k8s-runtime-switch moves the router between its container and the cluster and back 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
15eccc1f3b vm-tests: k8s-bao-login runs a pod's ServiceAccount login against the real store 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
a70710dc7d swarm-secret-client: log in with a service-account token under BAO_AUTH=jwt 2026-11-27 11:46:56 +01:00
atlas
0461d8add8 vm-tests: a running collector keeps its cursor when it switches to the static user 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
f7f298ff4f vm-tests: k8s-node pod reaches the hive bridge's listeners by swarm name 2026-11-27 11:46:56 +01:00
atlas
4fc04015f9 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-27 11:46:56 +01:00
atlas
2cad6da060 vm-tests: k8s-node boots a node through deploy.k8s.enable 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
maia
fd950cab12 vm-nightly: run the k8s-swarm-images test in the nightly matrix
The vm-test-list lint, added on main, requires every test in nix/vm-tests.nix
to be in the nightly matrix.
2026-11-27 11:46:55 +01:00
atlas
7c71d048b5 docs: describe swarmctl migrate, the all-local swarm's move onto k8s 2026-11-27 11:46:55 +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
atlas
aaf11a0764 vm-tests: a k3s node harness, and the swarm images boot as pods 2026-11-27 11:46:55 +01:00
maia
b52fc0ec8e docs: use the contractions vale asks for in the egress endpoints paragraph
Closes #6902
2026-11-27 11:45:43 +01:00
maia
b56fbaed39 egress: say the forward-chain comment's agent_allow also holds the swarm endpoints
Closes #6902
2026-11-27 11:45:43 +01:00
maia
ecfc21b962 egress: let every agent reach the swarm's own endpoints under forward reject
With the egress intercept on, the forward chain rejects what `agent_allow`
does not hold, and `agent_allow` only held an agent's ssh connections. An
agent whose secret store, queue, logs or metrics endpoint is not on the
bridge was refused, so no agent started on a hive away from the swarm host.

hive-c0re's egress worker now also renders a `* <ipv4> <port>` line for each
endpoint URL it hands to agents (HIVE_AGENT_BAO_ADDR, HIVE_AGENT_LOGS_QUERY_URL,
HIVE_AGENT_METRICS_URL, HIVE_AGENT_NATS_URL), resolved like the ssh hosts.
`hive-priv egress-pin` expands a `*` line to the MAC of every agent port. An
older hive-priv skips the line, as it skips any unknown name.

Closes #6902
2026-11-27 11:45:43 +01:00
damocles
e77758d0d0 matrix-ctl: restart the homeserver when it loaded another registration, not when the file is newer, and never while it starts 2026-11-27 08:29:56 +01:00
maia
72b05d269c docs: no "cannot" in the swap paragraph
vale flags Microsoft.Contractions on "cannot". Reworded to "no signal reaches it".
2026-11-27 04:25:13 +01:00
maia
eb963fa545 hive-priv: describe the current drop-in only, not the removed exception
The test doc and the swap-usage metric text described the old behaviour. They now say what the drop-in does and what a restart applies.
2026-11-27 03:46:35 +01:00
maia
9ecc100798 hive-priv: one swap line, not lines, in the drop-in test text
The test message and a doc comment still said "swap lines" from the dropped two-line plan; the drop-in has the one MemorySwapMax=0 line.
2026-11-27 03:43:03 +01:00
maia
dfd4212e10 hive-priv: no agent container swaps, budgeted or not
The container drop-in wrote MemorySwapMax=0 only next to a finite
MemoryMax=. A container with MemoryMax=infinity kept host swap, so a
container over its memory share paged out and every process that
touched a paged-out page slept in D, out of reach of a signal.

limits_dropin_body now writes MemorySwapMax=0 for every container. The
OOM killer inside the container's cgroup takes over: subagent runs
(+900) and bash tasks (+1000) die before the agent's own session
(-500), as before. Docs say so.
2026-11-27 03:40:04 +01:00
damocles
8bd33a3482 subagent: log the name reservation lifecycle (reserve, track, release, freed) 2026-11-27 03:19:29 +01:00
iris
025d39d141 swarm-ui: the inference editor fills the section, and the login and API key get a row each
The editor stopped at 60em, and the claude login row packed the login and
the API key badges into one wrapping line. The width cap is gone, and the
API key has its own row beside the login's.
2026-11-26 21:05:47 +01:00