Edit a Node Pool (Autoscaling)
Updates a node pool's scaling configuration: its min_vms / cardinality / max_vms, policy_type, backing plan_id, and the elastic (elasticity_policies) and scheduled (scheduled_policies) rules. The requested cardinality must lie within [min_vms, max_vms]. Use the node pool's service_id (from List Node Pools).
/api/v1/kubernetes/update-node-pool/{node_pool_id}/Path parameters
node_pool_idPathintegerrequiredThe node pool
service_id(from List Node Pools).- required
- must be a valid node pool service ID
example12346
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the update request.
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the cluster.
- required
- must be a valid region name (e.g., Delhi, Chennai)
example{{location}}
Request body
application/json
Update a node pool's sizing and scaling policies.
Minimum number of worker nodes.
3- required
- must be <= cardinality
Desired (current) number of worker nodes.
3- required
- must be between min_vms and max_vms
Maximum number of worker nodes.
5- required
- must be >= cardinality
Scaling policy mode.
Default- required
- max length 50 characters
- one of: Default, Custom, Default-Scheduled, Custom-Scheduled, No-policy
SKU ID of the worker plan backing the pool.
1088- required
- must be a valid worker SKU ID
Elastic scaling rules (scale-up adjust 1 and scale-down adjust -1).
Scheduled scaling rules. Empty when the pool uses only elastic scaling.
Responses
200Successful response
200Node Pool pool-worker-1 Updated Successfully