EndpointsGet a node

Nodes

Get a node

GET/clusters/{id}/nodes/{name}
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

namestringrequired

Required string length: 1 - 253

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

Response

application/json

The node

namestringrequired

Required string length: 1 - 253

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

cluster_idstringrequired

Required string length: 3 - 54

sourceobjectrequired
source.kindenum<string>required

Available options: node_pool

source.node_pool_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"

source.machine_idstringrequired

Required string length: 3 - 54

stateenum<string>required

provisioning: its Machine is being created or its server is joining. ready: joined; Kubernetes readiness is ready and conditions. draining: cordoned and evicting Pods before it is removed. deleted: removed from the Cluster.

Available options: provisioning, restoring, ready, draining, deleted

conditionsobject[]required

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

  • not-ready (warning): Kubernetes reports the node not ready.
  • join-timeout (error): the server started but never joined; its Machine was deleted.
  • drain-timeout (warning): Pods did not leave within the drain bound; the node was removed anyway.
  • trial-ended (warning): the node’s free trial Machine was paused. Remedy add-billing.
  • capacity-unavailable, provider-refused, provider-unavailable (error): its Machine could not be created; forwarded from the Machine.

Maximum array length: 32 elements

child attributes
conditions.reasonstringrequired

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

Maximum string length: 64

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

Example: "agent-offline"

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

conditions.messagestringrequired

Safe to show the person as is.

Maximum string length: 512

conditions.remedyobject | nullrequired

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

conditions.remedy.kindenum<string>required

Available options: free-capacity

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

readybooleanrequired

Kubernetes Ready; false until the node joined.

provider_idstring | nullrequired

The node's spec.providerID; null without a cloud controller.

Maximum string length: 256

labelsrecord<string, string>required
kubelet_versionstring | nullrequired

Maximum string length: 64

created_atinteger | nullrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991