Skip to main content
Skip table of contents

List GCP Node Pools

List node pools for a cluster

Use this command to list the node pools of a given cluster. This returns specific properties of each node pool so that you can see the name of the MachineDeployments.

To list all node pools for a managed cluster, run:

CODE
dkp get nodepool --cluster-name=${CLUSTER_NAME}

The expected output is similar to the following example, indicating the desired size of the node pool, the number of replicas ready in the node pool, and the Kubernetes version those nodes are running:

CODE
NODEPOOL                         DESIRED               READY               KUBERNETES VERSION
example                          3                     3                   v1.24.6
gcp-example-2-md-0               4                     4                   v1.24.6

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.