Deleting a hosted cluster after configuring node pool capacity blocks
After you configure node pool capacity blocks, you can optionally delete a hosted cluster and uninstall the HyperShift Operator.
Procedure
-
To delete a hosted cluster, run a command similar to the following example:
$ hcp destroy cluster aws \ --name cb-np-hcp \ --aws-creds $HOME/.aws/credentials \ --namespace clusters \ --region us-east-2 -
To uninstall the HyperShift Operator, run the following command:
$ hcp install render --format=yaml | oc delete -f -