This is a cache of https://docs.openshift.com/container-platform/4.17/hosted_control_planes/hcp-destroy/hcp-destroy-ibm-power.html. It is a snapshot of the page at 2024-11-26T07:24:38.583+0000.
Destroying a hosted cluster on IBM Power - Destroying a hosted cluster | Hosted control planes | OpenShift Container Platform 4.17
×

You can destroy a hosted cluster on IBM Power by using the command-line interface (cli).

Destroying a hosted cluster on IBM Power by using the cli

To destroy a hosted cluster on IBM Power, you can use the hcp command-line interface (cli).

Procedure
  • Delete the hosted cluster by running the following command:

    $ hcp destroy cluster agent
     --name=<hosted_cluster_name> \(1)
     --namespace=<hosted_cluster_namespace> \(2)
     --cluster-grace-period <duration> (3)
    1 Replace <hosted_cluster_name> with the name of your hosted cluster.
    2 Replace <hosted_cluster_namespace> with the name of your hosted cluster namespace.
    3 Specifies the duration to destroy the hosted cluster completely, for example, 20m0s.