Watch
0
0
Fork
You've already forked hyperhive
0

require k8s: swarm services with a pod run in the cluster only

This commit is contained in:
atlas 2026-11-26 00:36:09 +01:00 • committed by mara
commit 052b559196

View file

@ -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,