---
title: "Get the cluster type and storage classes of a kubernetes cluster"
method: GET
path: "/cluster-info"
tags: ["k8s"]
---

# Get the cluster type and storage classes of a kubernetes cluster

`GET /cluster-info`

Get the cluster type and storage classes of a kubernetes cluster

## Response `200`

Successful operation

- KubernetesClusterInfo — kubernetes cluster info
  - `clusterType` string, required
  - `storageClassNames` string[], required

## Other responses

- `400` — Unsuccessful operation
- `500` — Internal server error

## Changes

- **2024-04-12** `dec31e5eea8e` — 1 warning, 3 info
  - removed the optional property `storageClasses` from the response with the `200` status
  - api tag `k8s` added
  - api tag `Kubernetes` removed
  - response property `storageClassNames` reactivated

[Change history](https://skmtc.dev/openeverest/apis/openeverest-schema/changes/cluster-info/get.md)

---

[API](https://skmtc.dev/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.dev/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc.dev/openeverest/apis/openeverest-schema/revisions/dec31e5eea8e?raw)
