EndpointsList node pools

Node pools

List node pools

GET/clusters/{id}/node_pools
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens - a workspace-owned token implies its workspace.

Required string length: 1 - 53

Example: "ws_j572abc123def4"

idstringrequired

Cluster ID

Required string length: 3 - 54

cursorstring

Maximum string length: 512

limitinteger

Required range: 1 <= x <= 100

Response

application/json

Node pools, by ID

dataobject[]required

Maximum array length: 100 elements

child attributes
data.idstringrequired

A DNS label of at most 40 characters, unique in the Cluster. Every node of the pool carries it as the label akua.dev/node-pool.

Pattern: ^[a-z](?:[-a-z0-9]{0,38}[a-z0-9])?$

Example: "default"

data.cluster_idstringrequired

Required string length: 3 - 54

data.workspace_idstringrequired

Required string length: 2 - 53

data.html_urlstring<uri>required

Maximum string length: 2048

data.machine_typestringrequired

Pattern: ^[a-z][a-z0-9-]{0,31}$

Example: "cx23"

data.locationsstring[]required

Where the pool places its Machines in the Cluster’s Region; empty lets Akua choose. One location at launch.

Maximum array length: 1 element

data.imageenum<string>required

Available options: ubuntu-24.04

data.labelsrecord<string, string>required

Maximum object length: 32 entries

Key pattern: ^(?:[a-z0-9](?:[-a-z0-9.]{0,251}[a-z0-9])?\/)?[A-Za-z0-9](?:[-A-Za-z0-9_.]{0,61}[A-Za-z0-9])?$

Example: {"workload-class":"web"}

data.node_countintegerrequired

Number of nodes the pool keeps, 0 to 10 at launch.

Required range: 0 <= x <= 10

data.ready_nodesintegerrequired

Required range: x >= 0

data.stateenum<string>required

provisioning: its first nodes are being created and joined. ready: every node is ready. resizing: nodes are being added or removed after a size change. degraded: some nodes are not ready or could not be created; see conditions. failed: no node could be created; see conditions. deleting: its nodes are drained and their Machines deleted.

Available options: provisioning, ready, resizing, degraded, failed, deleting, deleted

data.conditionsobject[]required

What needs attention now; empty when nothing does. Reasons:

  • billing-required (error or warning): the Workspace has no active billing account, so no Machine was created. Remedy add-billing.
  • quota-exceeded (error or warning): the Workspace or your trial has no Machine capacity left. Remedy free-capacity or upgrade-plan.
  • capacity-unavailable, provider-refused, provider-unavailable (error or warning): a Machine of the pool could not be created; the message names the node. Forwarded from the Machine.
  • join-timeout (warning): a server started but its node never became ready; its Machine was deleted.
  • nodes-not-ready (warning): Kubernetes reports nodes of the pool not ready; the message names them.
  • trial-ended (warning): the free trial Machine of a node was paused and its node removed. Remedy add-billing, then set the size again.
  • machine-deleted (warning): a node’s Machine was deleted outside the pool; the node is gone and the pool is smaller than node_count.
  • drain-timeout (warning): Pods did not leave a removed node within the drain bound; it was removed anyway.
  • abandoned (error): the create request ended before it recorded its Machines; what it created was deleted.

An error holds while state is failed; the same reason is a warning when other nodes run.

Maximum array length: 32 elements

child attributes

Kebab-case reason; the resource documents the reasons it reports.

Maximum string length: 64

Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Example: "agent-offline"

data.conditions.severityenum<string>required

error: the resource failed; the condition says why. warning: it is limited or held until the person acts or it recovers. info: worth knowing, nothing to do.

Available options: error, warning, info

Safe to show the person as is.

Maximum string length: 512

data.conditions.remedyobject | nullrequired

What the person can do; null when nothing they do helps.

data.conditions.remedy.kindenum<string>required

Available options: free-capacity

data.conditions.remedy.metricenum<string>required

Available options: kaas/clusters, compute/machines, compute/cpu, compute/memory, compute/machines_concurrency, compute/managed_vm_trial, agents/turns_concurrency, agents/sandboxes, agents/sandboxes_running, agents/retained_filesystem_lifetime, codemode/executions, api/secrets_access, api/secrets_write, domain_routing/preview_hostnames, domain_routing/custom_domains, source_control/repositories

Maximum string length: 256

Unix timestamp (seconds) when this condition last changed.

Required range: x >= 0

data.operation_idstringrequired

The latest Operation: the create, a size change, or the deletion.

Required string length: 2 - 192

data.created_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.updated_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

data.etagstringrequired

Maximum string length: 64

has_morebooleanrequired
next_cursorstring | nullrequired

Maximum string length: 512