Skip to content

Scale Cluster Resources

Raise cpu, memory, or storage on an existing kupe_cluster resource and Terraform updates the limits in place; nothing else in the block needs to change.

resource "kupe_cluster" "production" {
name = "production"
version = "1.31"
resources = {
cpu = "8" # scaled from 4
memory = "32Gi" # scaled from 16Gi
storage = "200Gi" # scaled from 100Gi
}
}
Terminal window
terraform plan # shows the resource changes
terraform apply # applies them

resources is mutable, so this is an in-place update; Terraform does not replace the cluster. For the underlying API call, see Scale and Upgrade Clusters via the API.