Notploy

Cluster

Add and remove Swarm workers and managers. Generated from the `notploy` command surface.

Add and remove Swarm workers and managers.

notploy cluster exposes 4 commands. They map one-to-one onto the cluster.* API operations, so anything reachable from the dashboard is reachable from here.

Run notploy cluster --help to list these commands in your terminal, or notploy cluster <command> --help for a single command.

Commands

notploy cluster add-manager

Calls GET /api/trpc/cluster.addManager.

notploy cluster add-manager [options]
OptionTypeRequiredAllowed values
--serverId <value>stringNo—
--profile <name>stringNo—

notploy cluster add-worker

Calls GET /api/trpc/cluster.addWorker.

notploy cluster add-worker [options]
OptionTypeRequiredAllowed values
--serverId <value>stringNo—
--profile <name>stringNo—

notploy cluster get-nodes

Calls GET /api/trpc/cluster.getNodes.

notploy cluster get-nodes [options]
OptionTypeRequiredAllowed values
--serverId <value>stringNo—
--profile <name>stringNo—

notploy cluster remove-worker

Calls POST /api/trpc/cluster.removeWorker.

notploy cluster remove-worker --nodeId <value> [options]
OptionTypeRequiredAllowed values
--nodeId <value>stringYes—
--serverId <value>stringNo—
--profile <name>stringNo—

On this page