Follow the steps below to delete a cluster using the PKS CLI. In PKS v1.1, 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 -kFor more information about the
pks logincommand, see the Log in to the PKS CLI section of Installing the PKS CLI.
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.