add_managed_node_pool
Add a node pool to a managed Kubernetes cluster (DOKS, UKS, GKE, AKS, EKS, OVH MKS, Kapsule, Ankra Cloud Kubernetes). Requires name and size (a provider node size slug from list_managed_k8s_options with the cluster target); count defaults to 1. Optional autoscaling {enabled, min_count, max_count}, labels, and taints. The pool's nodes provision at the cloud provider in the background; the cluster must have finished provisioning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique node pool name. | |
| size | Yes | Provider node size slug (from list_managed_k8s_options with the cluster target). | |
| spot | No | Optional spot / preemptible capacity for the pool (AKS only). enabled defaults to true when the block is passed; max_price is the hourly cap (> 0) in the provider currency, omit it to pay up to the on-demand price. | |
| count | No | Number of nodes in the pool. Default: 1. | |
| labels | No | Optional Kubernetes node labels. | |
| taints | No | Optional Kubernetes node taints, each {key, value, effect}. | |
| cluster_id | No | UUID of the target managed cluster. Optional when a cluster is selected. | |
| autoscaling | No | Optional autoscaling for the new pool; when passed, integer min_count and max_count are required (min_count >= 1, max_count >= min_count) and count must sit inside them when enabled. | |
| cluster_name | No | Exact name of the target managed cluster. Optional when a cluster is selected. |