Pivotal Container Service v1.2

Deleting Clusters

Follow the steps below to delete a cluster using the PKS CLI. 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

    • PKS-API is the domain name for the PKS API that you entered in Ops Manager >Pivotal Container Service >PKS API >API Hostname (FQDN). For example, api.pks.example.com.
    • USERNAME is your user name.

      See Logging in to PKS for more information about the pks login command.

  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 pks-feedback@pivotal.io.

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