kupe_cluster
Reads an existing Kupe cluster by name.
Example Usage
Section titled “Example Usage”data "kupe_cluster" "production" { name = "production"}Schema
Section titled “Schema”Required
Section titled “Required”name(String) Cluster name to look up.
Read-Only
Section titled “Read-Only”display_name(String) Human-readable cluster name.endpoint(String) Cluster API server endpoint.ha_configured(Boolean) True once the operator has confirmed both 3/3 apiserver replicas AND 3/3 deployed-etcd replicas areReadyfor the first time. Etcd readiness is required because the OSS deployed-etcd path runs etcd in its own StatefulSet — quorum loss with healthy apiserver pods still blocks writes.ha_enabled_at(String) Timestamp whenha_configuredfirst became true (billing anchor).ha_etcd_replicas_desired(Number) Target HA etcd replica count (3 whenhigh_availability = true, 0 otherwise).ha_etcd_replicas_ready(Number) Count of deployed-etcd replicas currentlyReady. Exposed separately because the OSS deployed-etcd path runs etcd in its own StatefulSet — quorum loss blocks writes even when the apiserver replicas are healthy.ha_phase(String) Consumer-friendly HA rollup. One ofpending,ha-healthy,ha-degraded,ha-unavailable. Empty for non-HA clusters.ha_replicas_desired(Number) Target HA replica count (3 whenhigh_availability = true, 0 otherwise).ha_replicas_ready(Number) Count of HA control-plane (apiserver) replicas currentlyReady.high_availability(Boolean) Whether the cluster is configured with HA (3-replica control plane). Reflects spec, not operational state — seeha_configured.phase(String) Current cluster phase, for example Pending, Provisioning, Running, Upgrading, or Degraded.type(String) Cluster type. Today the operator only supportsshared—dedicatedwas reserved in the CRD enum but is currently rejected withCLUSTER_DEDICATED_UNSUPPORTED.version(String) Current Kubernetes version for the cluster.