require k8s: swarm services with a pod run in the cluster only
This commit is contained in:
parent
7819ed2dbd
commit
2e1f037f25
1 changed files with 1044 additions and 3125 deletions
|
|
@ -776,18 +776,18 @@ These get settled, and filled in here, as the work reaches them:
|
|||
|
||||
## Host setup
|
||||
|
||||
The review classifier's try-out service, in a `swarm-review-classifier`
|
||||
container on the host that sets `deploy.review-classifier.enable`.
|
||||
The review classifier's try-out service, a pod in the cluster of the host that
|
||||
sets `deploy.review-classifier.enable`.
|
||||
`allSwarmServices` defaults it on wherever the host has the classifier's store
|
||||
identity: the host that runs the store has it, and a services host with the
|
||||
store elsewhere gets the classifier only once it holds a copy of the pair (see
|
||||
below). Set `deploy.review-classifier.enable` directly to override either way.
|
||||
|
||||
With `deploy.review-classifier.runtime = "k8s"` it runs as a pod in the host's
|
||||
cluster instead, and the host has no container. Each run's scratch directory
|
||||
It runs as a pod in the host's cluster, and the host has no container. Each
|
||||
run's scratch directory
|
||||
and its `HOME` are in the pod's `/tmp` volume. The pod's network isn't
|
||||
restricted, and the ACP runtime's `base_url` comes from the run. See
|
||||
[the runtime switch](../k8s/runtime.md#the-claude-daemons).
|
||||
[the runtime module](../k8s/runtime.md#the-claude-daemons).
|
||||
|
||||
The operator sets the key of the runtime the swarm settings choose in the
|
||||
swarm UI: the **classifier settings** card on `/jobs` takes a key for the
|
||||
|
|
|
|||
Loading…
Reference in a new issue