full-setup and the host swarmctl reach the controller as a pod, not through a host socket
This commit is contained in:
parent
df4058d2f7
commit
ee6b5f69f6
1 changed files with 222 additions and 157 deletions
|
|
@ -171,8 +171,8 @@ of more than one node needs one before the controller may run there.
|
|||
and the script's tools.
|
||||
- **`swarmctl`.** The controller's socket lives inside the pod, so the host's
|
||||
`swarmctl` reaches the controller only through the gateway: run
|
||||
`swarmctl login` once, then use `--swarm <url>` or a wrapper that defaults
|
||||
to it. A socket path on the host serves nothing.
|
||||
`swarmctl login` once. The host's wrapper defaults `--swarm` to the host's own
|
||||
swarm and sets no socket path, since a socket path on the host serves nothing.
|
||||
- **Probes.** The pod binds `SWARM_CONTROLLER_HEALTH_ADDR`, with liveness on
|
||||
`/healthz` and readiness on `/readyz`. Readiness needs the queue connection
|
||||
and a fresh store login, so a store role that refuses the pod's token leaves
|
||||
|
|
|
|||
Loading…
Reference in a new issue