List a Kubernetes cluster's node pools
- Name
get
- Type
- /v1/kubernetes/:uuid/node_pools
- Description
Send a
GET
request to list a kubernetes cluster's node pools.
Request
Example
curl -X GET "https://api.simplystack.com/v1/kubernetes/236fa2a0-96d6-4c14-8dbc-08db28f3513b/node_pools" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0"
Response
Attributes
Example
json
{
"node_pools": [
{
"id": "4fb5575c-baf3-4580-9ad4-fa1cec526341",
"name": "complicated-cookie",
"size": {
"slug": "b-1vcpu-2gb",
"vcpu": 1,
"disk": 53687091200,
"memory": 2147483648,
"category": {
"name": "basic",
"premium": false,
"cpu_model": "INTEL",
"description": "Basic"
},
"bandwidth": 2199023255552,
"available": true,
"price_hourly": 0.014,
"price_monthly": 10.0,
"snapshots_limit": 1
},
"nodes": [
{
"id": "af44f920-6b41-4854-a4ec-0515e5a1e159",
"name": "complicated-cookie-wzbp7v",
"created_at": "2024-01-08T04:18:17.771223Z"
}
]
}
]
}