Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix/host-modules/k8s/node.nix
Author SHA1 Message Date
atlas
b17ef67291 move flannel's wireguard port to 51830, advertise the node address as the tunnel endpoint, drop the 51820 assertion 2026-11-29 14:02:31 +01:00
atlas
cadc9eb06d run flannel's wireguard-native backend on every k8s node 2026-11-29 14:02:31 +01:00
atlas
ad1ff47b26 run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00
atlas
bf8d77ca86 run the log store and its auth responders as pods
swarm-logs-auth and swarm-metrics-auth take --listen for a TCP address beside
--socket. The log store is a Deployment on a static local volume that is its
old container's data directory, behind a ClusterIP Service the gateway dials by
name. Its two auth_request responders are one unpinned pod with a jwt role.
The renderer gains a plain HTTP listener, a probe path, fsGroupChangePolicy,
and one policy for a pod with both a listener and egress.
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
4dee02c81d pin queue and poller state to per-service node labels instead of the hostname 2026-11-29 14:02:31 +01:00
atlas
2b1ff369f4 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-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
2cda2d5fc5 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-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