Update managed node pool
update_managed_node_poolUpdate a managed cluster's node pool in place with PATCH semantics: pass only the fields to change - at least one of count, autoscaling_enabled, autoscaling_min, autoscaling_max. Enabling autoscaling requires both bounds (existing values are kept when only one is passed). The change applies at the cloud provider; on scale-down the provider drains and removes nodes. externally_managed is a separate switch and must be sent ON ITS OWN (combining it with any other pool field is refused): true hands the pool's node count to something outside Ankra (a cluster autoscaler the customer runs at the provider) - from then on scale, update, delete and replace of the pool are refused until it is cleared, and list_managed_node_pools reports the provider's live count as observed_count; false returns the pool to Ankra and adopts the provider's live node count as the pool's count.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pool_name": "<pool_name>"
},
"name": "update_managed_node_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | New desired node count. | |
| pool_name | Yes | Name of the node pool to update (from list_managed_node_pools). | |
| cluster_id | No | UUID of the target managed cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target managed cluster. Optional when a cluster is selected. | |
| autoscaling_max | No | New autoscaling maximum node count. | |
| autoscaling_min | No | New autoscaling minimum node count. | |
| externally_managed | No | Send on its own, without other pool fields. true: the pool's node count is owned outside Ankra (a customer-run cluster autoscaler) and Ankra refuses to scale, update, delete or replace the pool until this is cleared. false: Ankra manages the pool again and adopts the provider's live node count. | |
| autoscaling_enabled | No | Enable or disable autoscaling for the pool. |