Skip to content

kupe_cluster

Manages a Kupe Cloud cluster for a tenant.

resource "kupe_cluster" "production" {
name = "production"
display_name = "Production"
type = "shared"
version = "1.32"
resources = {
cpu = "4"
memory = "16Gi"
storage = "100Gi"
}
}
  • display_name (String) Human-readable display name (immutable after creation).
  • name (String) Cluster name (immutable after creation).
  • type (String) Cluster type. Valid values are shared and dedicated. Immutable after creation.
  • resources (Attributes) Resource limits for the cluster. (see below for nested schema)
  • version (String) Kubernetes version (e.g., 1.31).
  • created_at (String) Timestamp when the cluster was created.
  • endpoint (String) Cluster API server endpoint.
  • etag (String) Resource version used for optimistic locking during updates.
  • phase (String) Current cluster phase, for example Pending, Provisioning, or Running.

Optional:

  • cpu (String) CPU limit (e.g., 4, 500m).
  • memory (String) Memory limit (e.g., 16Gi, 512Mi).
  • storage (String) Storage limit (e.g., 100Gi).

Import is supported using the following syntax:

The terraform import command can be used, for example:

Terminal window
terraform import kupe_cluster.production production