Clusters
Preview

List a cluster's nodes

What the cluster's operator last reported, by node name. A cluster that has not reported has none.

GET
/clusters/{clusterId}/nodes
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

clusterId*string
Formatuuid
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

status?string

Only nodes with this status.

Value in"ready""not_ready""unknown"
pool?string

Only the nodes of this node pool.

Length1 <= length <= 253
zone?string

Only the nodes in this zone.

Length1 <= length <= 253
pressure?boolean

Only nodes that report memory, disk or PID pressure.

Response Body

A page of nodes, by name.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/nodes'
Example Response
{  "items": [    {      "name": "string",      "status": "ready",      "cordoned": true,      "pool": "string",      "zone": "string",      "instanceType": "string",      "kubeletVersion": "string",      "cpuCapacityMillis": 0,      "cpuUsedMillis": 0,      "memoryCapacityBytes": 0,      "memoryUsedBytes": 0,      "podsCapacity": 0,      "podsRunning": 0,      "createdAt": "2019-08-24T14:15:22Z",      "pressure": [        "memory"      ]    }  ],  "nextCursor": "string"}