docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime
This commit is contained in:
parent
d198c76b73
commit
fa42cba94b
2 changed files with 96 additions and 39 deletions
|
|
@ -127,6 +127,13 @@ the host has the minter's store identity, like the other swarm services.
|
|||
Run one: a login in progress lives in the service's memory between its start
|
||||
and its code.
|
||||
|
||||
With `deploy.claude-login.runtime = "k8s"` it runs as a pod in the host's
|
||||
cluster instead, and the host has no container. Each login's scratch directory
|
||||
is in the pod's `/tmp` volume, which is where `claude` writes its config, and
|
||||
the pod's store login can write the agents' credentials as the container's
|
||||
certificate does. Nothing moves in a switch: a login in progress ends, as it does
|
||||
on a restart. See [the runtime switch](../k8s/runtime.md#the-claude-daemons).
|
||||
|
||||
An operator logs an agent in from the **log in** button on its card in the
|
||||
swarm UI. swarm-controller relays the start and the pasted code over the queue,
|
||||
the minter runs `claude auth login` and writes the credentials to the agent's
|
||||
|
|
|
|||
|
|
@ -783,6 +783,12 @@ 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
|
||||
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 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
|
||||
chosen runtime and shows whether one exists and when it changed, never the
|
||||
|
|
|
|||
Loading…
Reference in a new issue