×

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.