Pivotal Container Service v1.1

Deleting Clusters

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.

  1. On the command line, run the following command to log in:

    pks login -a PKS-API -u USERNAME -k
    For more information about the pks login command, see the Log in to the PKS CLI section of Installing the PKS CLI.

  2. Run pks delete-cluster CLUSTER-NAME to delete a cluster. Replace CLUSTER-NAME with the unique name for your cluster. For example:

    $ pks delete-cluster my-cluster

Please send any feedback you have to

Create a pull request or raise an issue on the source for this page in GitHub