Update a node pool
const url = 'https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/nodepools/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","vcpus":1,"memory_gb":1,"disk_gb":1,"min_nodes":1,"max_nodes":1,"desired_nodes":1,"min_vcpus":1,"max_vcpus":1,"min_memory_gb":1,"max_memory_gb":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.aetherplatform.cloud/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/nodepools/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "vcpus": 1, "memory_gb": 1, "disk_gb": 1, "min_nodes": 1, "max_nodes": 1, "desired_nodes": 1, "min_vcpus": 1, "max_vcpus": 1, "min_memory_gb": 1, "max_memory_gb": 1 }'Partial update. Any omitted field keeps its stored value. The merged result must satisfy min_nodes <= desired_nodes <= max_nodes.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Organization UUID.
Cluster UUID.
Node pool UUID.
Request Body required
Section titled “Request Body required ”object
Optional per-pool CPU autoscaling budget (total pool vCPUs); max > min ⇒ autoscaling.
Optional per-pool CPU autoscaling budget (total pool vCPUs); max > min ⇒ autoscaling.
Optional per-pool memory autoscaling budget (total pool GB); max > min ⇒ autoscaling.
Optional per-pool memory autoscaling budget (total pool GB); max > min ⇒ autoscaling.
Example generated
{ "name": "example", "vcpus": 1, "memory_gb": 1, "disk_gb": 1, "min_nodes": 1, "max_nodes": 1, "desired_nodes": 1, "min_vcpus": 1, "max_vcpus": 1, "min_memory_gb": 1, "max_memory_gb": 1}Responses
Section titled “ Responses ”The updated node pool.
object
Optional per-pool CPU autoscaling budget (total pool vCPUs); max > min ⇒ autoscaling.
Optional per-pool CPU autoscaling budget (total pool vCPUs); max > min ⇒ autoscaling.
Optional per-pool memory autoscaling budget (total pool GB); max > min ⇒ autoscaling.
Optional per-pool memory autoscaling budget (total pool GB); max > min ⇒ autoscaling.
Labels applied to the pool’s nodes at bootstrap.
object
Taints applied to the pool’s nodes at bootstrap (set at create; immutable).
object
Example
{ "node_taints": [ { "effect": "NoSchedule" } ], "status": "provisioning"}Missing or invalid credentials.
object
object
A stable, machine-readable error code.
object
Example generated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}The requested resource was not found.
object
object
A stable, machine-readable error code.
object
Example generated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}Request validation failed.
object
object
A stable, machine-readable error code.
object
Example generated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "code": "example", "message": "example" } ] }}