Follow the steps below to delete a cluster using the PKS CLI. Running the
pks delete-cluster command automatically deletes all NSX objects.
On the command line, run the following command to log in:
pks login -a PKS-API -u USERNAME -kSee Log in to the PKS CLI for more information about the
pks delete-cluster CLUSTER-NAMEto delete a cluster. Replace
CLUSTER-NAMEwith the unique name for your cluster. For example:
$ pks delete-cluster my-cluster
Please send any feedback you have to firstname.lastname@example.org.