Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
API ReferenceComputeKubernetes

Get a node

Returns one node of the cluster: its registration and Ready state, its name in the cluster once it joins, the host's public IP and, on a GPU host, its GPUs. A legacy API key needs clusters:read.

Required permission

Requires the kubernetes.read permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl kube node get <id> <node-id>
GET
/v1/kubernetes/clusters/{id}/nodes/{nodeId}

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

id*string
nodeId*string

Response Body

The node

application/json
  1. response

One worker node, a whole host in the cluster: what the control plane owns about it. Its labels, annotations and conditions are read in the cluster with kubectl.

id*string
name?string

The node's name in the cluster, set once it joins; kubectl shows the node under this name.

nodePoolId*string
registrationStatus*KubernetesNodeRegistrationStatus

registered: the host is claimed and booting, not yet in the cluster. joined: the node joined the cluster.

Value in"registered""joined"
kubernetesStatus?KubernetesNodeKubernetesStatus

The node's Ready condition, set once it joins.

Value in"Ready""NotReady""Unknown"
publicIp?string

The host's public IPv4 address, which the node advertises.

Formatipv4
gpu?
registeredAt?string
joinedAt?string
Example Request
curl -X GET 'https://api.openrelay.inc/v1/kubernetes/clusters/string/nodes/string'
Example Response
{  "id": "string",  "name": "string",  "nodePoolId": "string",  "registrationStatus": "registered",  "kubernetesStatus": "Ready",  "publicIp": "192.168.0.1",  "gpu": {    "count": 0,    "model": "string",    "driverVersion": "string",    "cudaRuntimeVersion": "string",    "memory": "string"  },  "registeredAt": "string",  "joinedAt": "string"}