require k8s: swarm services with a pod run in the cluster only
This commit is contained in:
parent
272af0b3e8
commit
57d40ae8ea
1 changed files with 1044 additions and 3125 deletions
|
|
@ -121,18 +121,18 @@ slow steps. `expired` counts logins stopped because their code never came.
|
|||
|
||||
## Host setup
|
||||
|
||||
The claude login minter, in a `swarm-claude-login` container on the host that
|
||||
sets `deploy.claude-login.enable`. `allSwarmServices` defaults it on wherever
|
||||
The claude login minter, a pod in the cluster of the host that sets
|
||||
`deploy.claude-login.enable`. `allSwarmServices` defaults it on wherever
|
||||
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
|
||||
It runs as a pod in the host's cluster, 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).
|
||||
certificate does. A login in progress ends when the pod restarts. See
|
||||
[the runtime module](../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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue