List NKS Node Pools
GET/v1/nks/clusters/{cluster_id}/pools
List all node pools in an NKS cluster
List NKS Node Pools
curl https://api.nirvanalabs.io/v1/nks/clusters/$CLUSTER_ID/pools \
-H "Authorization: Bearer $NIRVANA_LABS_API_KEY"{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"cluster_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"name": "my-node-pool",
"node_config": {
"boot_volume": {
"size": 100,
"type": "abs"
},
"instance_type": "n1-standard-8",
"labels": [
"env=prod",
"team=platform"
],
"taints": [
"dedicated=gpu:NoSchedule"
]
},
"node_count": 3,
"status": "ready",
"tags": [
"production",
"ethereum"
],
"updated_at": "2025-01-01T00:00:00Z"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}Returns Examples
{
"items": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"cluster_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2025-01-01T00:00:00Z",
"name": "my-node-pool",
"node_config": {
"boot_volume": {
"size": 100,
"type": "abs"
},
"instance_type": "n1-standard-8",
"labels": [
"env=prod",
"team=platform"
],
"taints": [
"dedicated=gpu:NoSchedule"
]
},
"node_count": 3,
"status": "ready",
"tags": [
"production",
"ethereum"
],
"updated_at": "2025-01-01T00:00:00Z"
}
],
"pagination": {
"next_cursor": "RhwniMT4B74siYZcPF8TnCdGI1l9rpPvg",
"previous_cursor": "ARhwnmi1hA7wEbHbMjdYQlOB_ZusP4fYvw",
"total_count": 125
}
}