k8s: stt's pod runs in a user namespace of its own
This commit is contained in:
parent
2259b5f27b
commit
2c1dc695c5
1 changed files with 111 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue