swarm_inspect
Inspect the swarm cluster to retrieve its ID, configuration spec, join tokens, and CA info. Operates only on a manager node.
Instructions
Inspect the swarm this daemon belongs to (id, spec, join-token config, CA info).
Works on a manager node only. Cluster-level configuration — for per-node state use
node_list; for the tokens new nodes need, swarm_join_tokens.
returns: dict - The swarm's attrs, as returned by the daemon's swarm inspect endpoint
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||