List Kubernetes node pools

List the cluster's node pools. Returns every node pool in one page.

GET https://{availability_zone}.betterstackcloud.com/v1/kubernetes-clusters/{kubernetes_cluster_id}/node-pools
kubernetes_cluster_id string required

The ID of the Kubernetes cluster.

Authorization string required

Bearer $TOKEN

200 OK
{
  "data": [
    {
      "id": "example",
      "name": "Example Kubernetes node pool",
      "server_type": "AM2",
      "node_count": 1,
      "labels": {
        "example": "value"
      },
      "taints": [
        {
          "key": "example",
          "value": "example",
          "effect": "NoSchedule"
        }
      ],
      "status": "active",
      "status_message": "example",
      "nodes_ready": 1,
      "scaling": {
        "from": 1,
        "to": 1,
        "started_at": "2026-07-01T12:00:00.000Z",
        "estimated_ready_at": "2026-07-01T12:00:00.000Z"
      },
      "nodes": [
        {
          "id": "example",
          "name": "Example",
          "server_id": "123456789",
          "status": "queued",
          "version": "1.4.2",
          "last_seen_at": "2026-07-01T12:00:00.000Z"
        }
      ]
    }
  ]
}

Returns the list of Kubernetes node pools.

id string

The node pool's ID, a UUID.

name string

The node pool's name, unique among the cluster's node pools.

server_type string

The server type of the workers.

node_count integer

How many workers the node pool should have, from 0 to 100. The node pools of a cluster can have 100 workers in total. nodes lists the workers the node pool has now.

labels object

The Kubernetes labels of the workers, as string pairs, or an empty object when there are none.

taints array of objects

The Kubernetes taints of the workers, or an empty list when there are none.

taints[].key string

The taint's key.

taints[].value string or null

The taint's value, or null when the taint has none.

taints[].effect string

What the taint does to pods that don't tolerate it, as in Kubernetes. Possible values: NoSchedule, PreferNoSchedule, NoExecute.

status string

The node pool's state. The node pool is ready when the cluster is running and every worker of the node pool is ready.
Valid values:
active: The node pool isn't changing size. The node pool's workers can still be joining or being replaced.
scaling: We're adding or removing workers to reach node_count. Scaling happens after you change node_count, or when the node pool has more or fewer workers than node_count.
deleting: We're removing the node pool.
destroyed: The node pool is deleted.

status_message string or null

Why the node pool has fewer workers than node_count, such as a quota limit, no capacity for the server type in the zone, or a server we couldn't create. Is null again once the node pool reaches node_count.

nodes_ready integer

How many workers of the node pool are ready.

scaling object or null

How a change of size is going while status is scaling, or null otherwise.

scaling.from integer or null

The number of workers before the change.

scaling.to integer

The node_count to reach.

scaling.started_at datetime

When the change started. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

scaling.estimated_ready_at datetime

When we expect the change to be done. When workers are added, it's based on the usual time a worker of the server type needs to be ready in this zone. When workers are removed, it's the latest time every removed worker is gone. In ISO 8601 format, such as 2026-07-01T12:00:00Z.

nodes array of objects

The node pool's workers, sorted by name. New workers show up at once as queued, then go through provisioning and joining to ready.

nodes[].id string

The worker's ID. Use it to recycle the worker.

nodes[].name string

The worker's name in Kubernetes.

nodes[].server_id string or null

The ID of the server that runs the worker, or null while the worker is queued.

nodes[].status string

The worker's state.
Valid values:
queued: We'll create the worker.
provisioning: We're creating the worker's server.
joining: The worker is joining the cluster.
ready: The worker is ready in Kubernetes.
not_ready: The worker joined, but Kubernetes reports it as not ready.
draining: We're moving pods off the worker before we remove it.
replacing: We're creating a new worker to replace this one.
destroyed: The worker is removed.

nodes[].version string or null

The Kubernetes version the worker reports.

nodes[].last_seen_at datetime or null

When we last saw the worker ready. In ISO 8601 format, such as 2026-07-01T12:00:00Z.