List Node Pools

List node pools for a cluster

Listing Node Pools

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:

dkp get nodepools --cluster-name=${CLUSTER_NAME} --kubeconfig=${CLUSTER_NAME}.conf

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:

NODEPOOL                        DESIRED               READY               KUBERNETES VERSION
demo-cluster-md-0               4                     4                   v1.21.3
example                         3                     0                   v1.21.3