Provision Production and Staging Environments
Two kupe_cluster resources, one configuration: production sized larger than staging, both pinned to the same Kubernetes version.
resource "kupe_cluster" "production" { name = "production" display_name = "Production" version = "1.31"
resources = { cpu = "4" memory = "16Gi" storage = "100Gi" }}
resource "kupe_cluster" "staging" { name = "staging" display_name = "Staging" version = "1.31"
resources = { cpu = "2" memory = "8Gi" storage = "50Gi" }}name and display_name are immutable; changing either of them forces replacement.
version and resources can be updated in place. See
Scale Cluster Resources and
Upgrade Kubernetes Version.