Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/docs/4-implementation/k8s/runtime.md
Author SHA1 Message Date
atlas
79c06cdcb0 pin queue and poller state to per-service node labels instead of the hostname 2026-11-27 18:07:59 +01:00
atlas
077f6f707d remove swarmctl migrate, migrate.json and the migrate docs 2026-11-27 18:07:59 +01:00
atlas
796fd6201f k8s: the queue's client port is a loadbalancer service
The queue's client port was a hostPort on 0.0.0.0, which Pod Security baseline and restricted forbid. It is a LoadBalancer Service now, which k3s's service load balancer binds on every address of the node with a hostPort of its own in kube-system, so hives on other hosts keep their URL. No node port is allocated. The stt policy allows the load balancer's pods in place of the queue's, and the prune unit waits for them to go before the host unit starts. The egress published-port rule and the raw-table rules apply to the load balancer's hostPort as to the pod's.
2026-11-27 18:07:59 +01:00
atlas
c2d57df7f5 egress: the forward chain accepts the flows the host publishes for the agents
On a host with the egress intercept on, the forward chain rejected an agent's traffic to the queue once the queue ran as a pod: the pod's hostPort rewrites the destination to the pod, and the packet then leaves the bridge for the cluster. The chain now accepts TCP that the host's NAT redirected whose original destination is the bridge's address at a published port, which the queue adds when it runs in the cluster. Everything else from the bridge to the cluster stays refused. The nats switch test runs with the intercept on.
2026-11-27 18:07:59 +01:00
atlas
ead0ef8719 k8s: the queue's exporter is a ClusterIP service only the node reaches
The exporter's metrics port was a hostPort on the bridge's address, which Pod Security baseline and restricted forbid. It is a ClusterIP Service now, and the pod has a NetworkPolicy that admits the client port from any source and nothing else, so only the node reads the exporter, as the raw-table rules made it. The gateway's /metrics location dials the Service by name through nginx's resolver. The raw-table rules no longer name the exporter's port.
2026-11-27 18:07:59 +01:00
atlas
8cd6ae3037 k8s: the controller's listener is a ClusterIP service the host dials by name
The controller's api port was a hostPort on the node, which Pod Security baseline and restricted forbid. It is a ClusterIP Service now, behind a NetworkPolicy that admits only the node. The host's resolver (the hive's dnsmasq) forwards cluster.local to CoreDNS, and the gateway dials the Service by name through nginx's resolver. tcp.hostAddress goes.
2026-11-27 18:07:59 +01:00
atlas
ada980f35c k8s: stt's pod runs in a user namespace of its own 2026-11-27 18:07:59 +01:00
atlas
6051a83044 k8s: stt's pod gets a network policy: dns and four host ports out, nothing in 2026-11-27 18:07:59 +01:00
atlas
513be8f7d0 k8s: the controller pod keeps no volume; the state gate goes 2026-11-27 18:07:59 +01:00
atlas
b69f8c1de0 k8s: the queue's pod mounts the host unit's store in place 2026-11-27 18:07:59 +01:00
atlas
2232acd056 k8s: stt and ci-metrics start without a state gate 2026-11-27 18:07:59 +01:00
atlas
8642518ab8 docs: say what the nats pod does and doesn't isolate 2026-11-27 18:07:59 +01:00
atlas
f3d96d450e docs: the start gate describes what the pod runs 2026-11-27 18:07:59 +01:00
atlas
7a7491a85a docs: the queue in the cluster 2026-11-27 18:07:59 +01:00
atlas
bcbba8d605 docs: the controller's runtime, hostPort hop, listener leaf, state and rev rollout 2026-11-27 18:07:59 +01:00
atlas
fa42cba94b docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 2026-11-27 18:07:59 +01:00
atlas
58f623461e docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 2026-11-27 18:07:59 +01:00
atlas
49406498a7 k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-27 18:07:59 +01:00
atlas
3942cd3749 docs: the speech-to-text service's runtime, limits and cache volume 2026-11-27 18:07:59 +01:00
atlas
50dc13d61b k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-27 18:07:59 +01:00