---
title: "Get Kubernetes cluster"
method: GET
path: "/api/v1/k8s/clusters/{cluster_id}"
tags: ["Kubernetes"]
---

# Get Kubernetes cluster

`GET /api/v1/k8s/clusters/{cluster_id}`

## Path parameters

- `cluster_id` string, required

## Headers

- `X-Project-ID` string, uuid, required

## Response `200`

Cluster details including node pools

- object
  - `success` boolean
  - `cluster` K8sCluster
    - `id` string, uuid, required — Internal UUID
    - `cluster_id` string, required — Short cluster ID used in URLs and the API endpoint hostname
    - `name` string, required
    - `status` 'pending' | 'deploying' | 'running' | 'warning' | 'failed' | 'deleting' | 'delete_failed' | 'deleted', required — - `pending` / `deploying` — provisioning - `running` — control plane up - `warning` — degraded (see `status_message`) - `failed` — provisioning failed; infrastructure was torn down (see `status_message`) - `deleting` — teardown in progress - `delete_failed` — teardown incomplete; nothing removed — retry the delete
    - `status_message` string — Human-readable detail for warning/failed/delete_failed
    - `ready` boolean, required — `true` when the cluster is running and no node pool is mid-operation — safe to use without interpreting `status`
    - `dns_domain` string
    - `api_endpoint` string
    - `k8s_version` string
    - `k8s_version_id` integer
    - `region` 'us-east'
    - `master_count` integer — 1, or 3 with an HA control plane
    - `worker_count` integer — Total worker nodes across all pools
    - `ha_enabled` boolean
    - `firewall_enabled` boolean
    - `longhorn_enabled` boolean — Legacy clusters only — dedicated storage nodes with Longhorn block storage. Clusters created since August 26, 2026 use the `raff-block` StorageClass (PVCs become Volumes) and report false.
    - `traefik_enabled` boolean
    - `metallb_enabled` boolean
    - `billing_type` 'payg' | 'subscription'
    - `project_id` string, uuid
    - `price_per_hour` number, double — Current hourly price (workers + HA fee; control plane is free, PVC storage bills separately per GB)
    - `price_per_month` number, double
    - `vpc_id` string — Dedicated VPC the cluster runs in
    - `private_vip` string — Cluster gateway IP inside the VPC
    - `node_pools` K8sNodePool[]
      - `id` string, uuid, required
      - `cluster_id` string, uuid
      - `name` string, required
      - `node_count` integer, required — Target node count
      - `actual_node_count` integer — Nodes that currently exist (differs from `node_count` while scaling)
      - `min_nodes` integer
      - `max_nodes` integer
      - `autoscale_enabled` boolean
      - `plan_id` integer
      - `cpu` integer
      - `ram` integer — GB
      - `disk` integer — GB
      - `labels` string
      - `taints` string
      - `status` 'pending' | 'provisioning' | 'running' | 'scaling' | 'failed' | 'deleting' | 'deleted', required — `scaling`/`deleting` are asynchronous — watch `status_message` for the outcome (e.g. a drain blocked by a PodDisruptionBudget)
      - `status_message` string
      - `nodes` K8sNode[]
        - `id` string, uuid
        - `pool_id` string, uuid
        - `cluster_id` string, uuid
        - `name` string
        - `role` 'vnf' | 'master' | 'worker' | 'storage' — `vnf` is the cluster's network gateway
        - `status` 'pending' | 'provisioning' | 'running' | 'not_ready' | 'cordoned' | 'failed' | 'deleting' | 'deleted' — `running` means the kubelet reports Ready; `cordoned` = unschedulable (drain or manual cordon); `not_ready` = joined but failing health checks
        - `cpu` integer
        - `ram` integer — GB
        - `disk` integer — GB
        - `ip_address` string
        - `price_per_hour` number, double
        - `created_at` string, date-time
        - `updated_at` string, date-time
      - `created_at` string, date-time
      - `updated_at` string, date-time
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `404` — Resource not found

## Changes

- **2026-08-24** `8f9bd454abee` — 4 warning
  - removed the optional property `cluster/master_cpu` from the response with the `200` status
  - removed the optional property `cluster/master_ram` from the response with the `200` status
  - removed the optional property `cluster/worker_cpu` from the response with the `200` status
  - removed the optional property `cluster/worker_ram` from the response with the `200` status
- **2026-08-23** `72c803a128b2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/rafftechnologies/apis/raff-api/changes/api/v1/k8s/clusters/:cluster_id/get.md)

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/2f4df56be77c/schema)
