pw cluster stop
pw cluster stop
Stop a cloud cluster's controller, or disconnect an existing cluster
Synopsis
The pw cluster stop command stops a cloud cluster's controller, keeping its disks so pw cluster start can resume it later. Compute nodes must have drained first; the platform refuses to stop a controller with active nodes. For an existing cluster it disconnects the platform from the cluster.
To tear a cloud cluster's resources down entirely, use pw cluster destroy.
When sessions, workflow runs or scheduler jobs are still running on the cluster, the command lists them and asks before going ahead, unless --yes is passed. Off a terminal it prints the list and goes ahead.
On a terminal the command opens the live view until the cluster has stopped. Pass -o text to return as soon as the request is accepted, or --wait to block and print one line per step instead.
pw cluster stop <cluster> [flags]Examples
pw cluster stop my-hpc
# Stop a cluster from a script, blocking until it has stopped
pw cluster stop --wait my-hpc
# Stop a cluster without asking about what still runs on it
pw cluster stop --yes my-hpc
# Disconnect an existing cluster
pw cluster stop pw://Jake.Thayne/onpremOptions
-h, --help help for stop
-o, --output string Output format (interactive, text, json) (default "interactive")
--wait Wait for the cluster to stop, printing progress, before exiting
--yes Skip the confirmation promptOptions inherited from parent commands
--context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Overrides PW_PLATFORM_HOST environment variable and the current context's server.
-v, --verbose Enable verbose loggingSEE ALSO
- pw cluster - Manage clusters