Pivotal Container Service v1.0

Delete a Cluster

Follow the steps below to delete a cluster using the PKS CLI.

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

    pks login -a PKS_API -u USERNAME -p PASSWORD --ca-cert CERT-PATH
    See Log in to the PKS CLI 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

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