stop
The cldkctl vm stop command powers off a virtual machine (VM) by specifying its name. This command gracefully shuts down the VM, ensuring data integrity before releasing allocated resources. It is typically used to stop a running VM to reduce resource usage when the VM is not needed. Ensure that you have the necessary permissions to perform this operation and that the VM is currently in a Running state before stopping it.
Usage
cldkctl vm stop [name] [flags]Aliases
stop, turn-off, off, shutdownSteps
Follow the steps below to run and view the result of this command:
Run the following command in your terminal and replace <vm_name> with your virtual machine name.
./cldkctl vm stop <vm_name>Ensure that you have the appropriate permissions and that the VM is currently in a Running state.
The command initiates a graceful shutdown, preserving data integrity and releasing allocated resources.
Once the shutdown is complete, a confirmation message “Virtual Machine stopped” appears in the terminal

Flags
-h, --help
Help for the vm stop command.
-n, --namespace string
Specifies the cluster namespace to scope the operation.
-p, --project string
Specifies the project ID.
Last updated
