Skip to content

kupe_cluster

Reads an existing Kupe cluster by name.

data "kupe_cluster" "prod" {
name = "prod"
}
  • name (String) Cluster name to look up.
  • display_name (String, Deprecated) Use name instead.

  • endpoint (String) Cluster API server endpoint.

  • ha_configured (Boolean) Whether high availability is ready.

  • ha_phase (String) Consumer-friendly HA rollup. One of pending, ha-healthy, ha-degraded, ha-unavailable. Empty for non-HA clusters.

  • high_availability (Boolean) Enable HA at creation. Changing this on an existing resource replaces the cluster, destroying its workloads and storage. Create a separate cluster and migrate first.

  • phase (String) Current cluster phase, for example Pending, Provisioning, Running, Upgrading, Degraded or Terminating.

  • version (String) Current Kubernetes version for the cluster.