delete
The cldkctl vm delete command permanently removes a virtual machine (VM) by specifying its name. This command deletes the VM and releases all associated resources, such as storage, service configurations, and allocated CPU/memory. Use this command with caution, as the deletion is irreversible and cannot be undone. Ensure that you have the necessary permissions before performing this operation.
Usage
cldkctl vm delete [name] [flags]Aliases
delete, del, rmSteps
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 delete <vm_name>Ensure that you have the appropriate permissions before executing the command.
The system permanently deletes the specified VM and releases all associated resources, such as CPU, memory, and storage.
Once the deletion process is complete, a confirmation message “Virtual Machine Deleted” will appear in the terminal.
Verify that the VM no longer exists. Refer to the VM List section for detailed instructions on how to view the current list of virtual machines.
Flags
-h, --help
Help for the vm delete command.
-n, --namespace string
Specifies the cluster namespace to scope the operation.
-p, --project string
Specifies the project ID.
Last updated
