---
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

---

[API](https://skmtc.net/openeverest/apis/openeverest-schema.md) · [All operations](https://skmtc.net/openeverest/apis/openeverest-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openeverest/openeverest-schema/versions/46b19e13670b/schema)
