LATEST VERSION: v1.4 - RELEASE NOTES
Pivotal Container Service v1.2

Viewing Cluster Lists

Follow the steps below to view the list of deployed Kubernetes cluster with the PKS CLI.

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

    pks login -a PKS-API -u USERNAME -k
    
    Where:

    • 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 the following command to view the list of deployed clusters, including cluster names and status:

    $ pks clusters


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