$ hcp destroy cluster agent
--name=<hosted_cluster_name> \(1)
--namespace=<hosted_cluster_namespace> \(2)
--cluster-grace-period <duration> (3)
You can destroy a hosted cluster on IBM Power by using the command-line interface (cli).
To destroy a hosted cluster on IBM Power, you can use the hcp command-line interface (cli).
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 . |