Skip to content

Upgrade Kubernetes Version

Changing version on an existing kupe_cluster resource triggers an in-place Kubernetes upgrade rather than a replacement.

resource "kupe_cluster" "production" {
name = "production"
display_name = "Production"
version = "1.32" # upgraded from 1.31
# ...
}
Terminal window
terraform plan
terraform apply

terraform apply blocks until the cluster settles back at Running: the provider waits for the cluster to become ready (default 15-minute timeout, configurable via the timeouts block). If the wait exceeds the timeout, apply returns an error even though the upgrade may still be progressing; monitor cluster phase via the console or data.kupe_cluster in that case.

For the underlying lifecycle and rollback considerations, see Upgrade Clusters.