Nodes are worker machines in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the Run:ai control plane. For more information, see Nodes.
Retrieve a list of nodes from the Kubernetes cluster.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "nodes": [
- {
- "status": "Ready",
- "conditions": [
- {
- "type": "string",
- "reason": "KubeletNotReady",
- "message": "container runtime status check may not have completed yet"
}
], - "taints": [
- {
- "key": "foo",
- "value": "bar",
- "effect": "NoSchedule"
}
], - "nodePool": "node-pool-1",
- "createdAt": "2019-08-24T14:15:22Z",
- "gpuInfo": {
- "gpuType": "Tesla-V100",
- "gpuCount": 0
}, - "name": "worker-node-1",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "clusterUuid": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
Retrieve node telemetry data for use in analysis applications.
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "type": "ALLOCATION_RATIO",
- "timestamp": "2023-06-06 12:09:18.211",
- "values": [
- {
- "value": "85",
- "groups": [
- {
- "key": "department",
- "value": "1",
- "name": "department-A"
}
]
}
]
}
Retrieve the node metrics data by Universally Unique Identifier (UUID).
Executed successfully.
Partial success.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "measurements": [
- {
- "type": "ALLOCATED_GPU",
- "labels": "{'gpu': '3'}",
- "values": [
- {
- "value": "85",
- "timestamp": "2023-06-06 12:09:18.211"
}
]
}
]
}