---
title: "Cluster info"
method: GET
path: "/cluster-info"
tags: ["Kubernetes"]
---

# Cluster info

`GET /cluster-info`

This API gets the cluster type and the storage classes available in the cluster.

## Response `200`

Successful operation

- KubernetesClusterInfo — kubernetes cluster info
  - `clusterType` string, required
  - `storageClassNames` string[], required — List of storage class names that are available in the cluster.
  - `storageClasses` StorageClass[]
    - `allowVolumeExpansion` boolean — allowVolumeExpansion shows whether the storage class allow volume expand.
    - `metadata` object — Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

## Other responses

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

## Changes

- **2025-03-28** `46a77c66fedf` — 2 info
  - added the optional property `storageClasses` to the response with the `200` status
  - response property `storageClassNames` deprecated
- **2024-06-19** `00f3dd8cb624` — 2 info
  - api tag `Kubernetes` added
  - api tag `k8s` removed
- **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-service-production.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/revisions/46b19e13670b/schema)
