×

You can destroy a hosted cluster and its managed cluster resource on OKD Virtualization by using the command-line interface (CLI).

Destroying a hosted cluster on OKD Virtualization by using the CLI

You can use the command-line interface (CLI) to destroy a hosted cluster and its managed cluster resource on OKD Virtualization.

Procedure
  1. Delete the managed cluster resource on multicluster engine Operator by running the following command:

    $ oc delete managedcluster <hosted_cluster_name>
  2. Delete the hosted cluster and its backend resources by running the following command:

    $ hcp destroy cluster kubevirt --name <hosted_cluster_name>