Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s/runtime.nix
Author SHA1 Message Date
atlas
9752f30f36 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 11:47:16 +01:00
atlas
3cf89f25f1 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 11:46:56 +01:00
atlas
4e60183bfa k8s: stt's pod runs in a user namespace of its own 2026-11-27 11:46:56 +01:00
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
8d1b7da541 module-eval: the controller's runtime, hostPort hop, listener leaf and rev rollout 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
a1d44ed046 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-27 11:46:56 +01:00