Watch
0
0
Fork
You've already forked hyperhive
0

k8s: stt's pod runs in a user namespace of its own

This commit is contained in:
atlas 2026-11-23 13:44:57 +01:00 • committed by maia
commit 4e60183bfa

View file

@ -101,10 +101,11 @@ With `deploy.stt.runtime = "k8s"` on a host that runs the cluster
(`deploy.k8s.enable`), the service runs as a pod and the host has no container.
The pod has the unit's memory and CPU ceilings as limits and its cache on a
volume of the cluster. The systemd sandbox stays on the host, and the pod has
the security shape every pod has. The pod's NetworkPolicy lets it reach cluster
DNS and the store, identity provider, queue and hive collector on the host and
nothing else, and admits no ingress. Nothing moves in a switch, so each side
keeps the cache it last had; see [the runtime switch](../k8s/runtime.md).
the security shape every pod has, in a user namespace of its own as the unit has
`PrivateUsers`. The pod's NetworkPolicy lets it reach cluster DNS and the store,
identity provider, queue and hive collector on the host and nothing else, and
admits no ingress. Nothing moves in a switch, so each side keeps the cache it
last had; see [the runtime switch](../k8s/runtime.md).
The audio comes from rooms with outside people, so the service runs as its own
unprivileged user under a tight systemd sandbox, with a memory ceiling and a CPU