9.10. Delete a virtual machine
You can remove virtual machines (VMs) from your cluster to free up resources using either the web console or CLI. Deleting a VM removes the virtual machine definition and optionally its associated storage resources.
9.10.1. Deleting a virtual machine using the web console 링크 복사링크가 클립보드에 복사되었습니다!
Deleting a virtual machine (VM) permanently removes it from the cluster.
If the VM is delete protected, the Delete action is disabled in the VM’s Actions menu.
Prerequisites
- You have disabled the VM’s delete protection setting.
- You have stopped the VM.
Procedure
From the OpenShift Container Platform web console, choose your view:
-
For a virtualization-focused view, select Administrator
Virtualization VirtualMachines. -
For a general view, navigate to Virtualization
VirtualMachines.
-
For a virtualization-focused view, select Administrator
Click the Options menu
beside a VM and select Delete.
Alternatively, click the VM’s name to open the VirtualMachine details page and click Actions
Delete. You can also right-click the VM in the tree view and select Delete from the pop-up menu.
- Optional: Select With grace period or clear Delete disks.
- Click Delete to permanently delete the VM.