upgrade_tkc_cluster
Upgrade a Tanzu Kubernetes Cluster to a specified Kubernetes version. Use after listing available versions; the operation is asynchronous and cannot be reversed.
Instructions
[WRITE] Upgrade a TKC cluster to a new Kubernetes version.
Returns {name, namespace, new_version, status: "upgrading"}. Asynchronous and irreversible — Kubernetes cannot be downgraded, so poll get_tkc_cluster until phase is running. There is no dry run. Use this only for the K8s version; prefer scale_tkc_cluster for node counts.
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. | |
| k8s_version | Yes | Target version from get_tkc_available_versions. |