docs: the speech-to-text service's runtime, limits and cache volume
This commit is contained in:
parent
be70b3189e
commit
3942cd3749
1 changed files with 72 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue