Watch
0
0
Fork
You've already forked hyperhive
0

docs: the speech-to-text service's runtime, limits and cache volume

This commit is contained in:
atlas 2026-11-21 23:19:32 +01:00 • committed by maia
commit 49f5e70e3f

View file

@ -97,6 +97,14 @@ model (`small` by default, or `base`), and `modelFile` takes any other ggml
model. The cache time, the limits on file size, audio length and run time, and
how many requests it holds at once are settings next to it.
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; neither restricts the network. 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 quota. Its network isn't restricted: the decoder runs in the same