Swarm
Inspect Docker Swarm nodes, node workloads and container statistics. Generated from the `notploy` command surface.
Inspect Docker Swarm nodes, node workloads and container statistics.
notploy swarm exposes 5 commands. They map one-to-one onto the swarm.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy swarm --help to list these commands in your terminal, or
notploy swarm <command> --help for a single command.
Commands
notploy swarm get-console
Calls GET /api/trpc/swarm.getConsole.
notploy swarm get-console [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy swarm get-container-stats
Calls GET /api/trpc/swarm.getContainerStats.
notploy swarm get-container-stats [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy swarm get-node-apps
Calls GET /api/trpc/swarm.getNodeApps.
notploy swarm get-node-apps [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy swarm get-node-info
Calls GET /api/trpc/swarm.getNodeInfo.
notploy swarm get-node-info --nodeId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--nodeId <value> | string | Yes | — |
--serverId <value> | string | No | — |
--profile <name> | string | No | — |
notploy swarm get-nodes
Calls GET /api/trpc/swarm.getNodes.
notploy swarm get-nodes [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--serverId <value> | string | No | — |
--profile <name> | string | No | — |