scale_tkc_cluster
Scale worker node count of a Tanzu Kubernetes Cluster to a desired number. Returns immediately with scaling status; poll cluster status for completion.
Instructions
[WRITE] Scale the worker node count of an existing TanzuKubernetesCluster (TKC).
Asynchronous: returns {name, namespace, pool, worker_count, status: "scaling"} immediately — poll get_tkc_cluster to watch nodes appear or drain. Scales workers only; use upgrade_tkc_cluster instead for the K8s version. Not destructive, but lowering worker_count drains removed nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Cluster name (via list_tkc_clusters). | |
| target | No | vCenter in config.yaml; omit for the default. | |
| namespace | Yes | Namespace holding it. | |
| pool_name | No | Node pool (machineDeployment). Omit for the first; other pools are always preserved. | |
| worker_count | Yes | Desired total, integer >= 1 (below 1 is rejected). |