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

# Cluster resources

`GET /resources`

This API gets the capacity and available resources of the Kubernetes cluster.

## Response `200`

Successful operation

- KubernetesClusterResources — kubernetes cluster resources
  - `capacity` object, required
    - `cpuMillis` number
    - `memoryBytes` number
    - `diskSize` number
  - `available` object, required
    - `cpuMillis` number
    - `memoryBytes` number
    - `diskSize` number

## Other responses

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

## Changes

- **2024-06-19** `00f3dd8cb624` — 2 info
  - api tag `Kubernetes` added
  - api tag `k8s` removed
- **2024-04-12** `dec31e5eea8e` — 2 info
  - api tag `k8s` added
  - api tag `Kubernetes` removed

[Change history](https://skmtc.dev/openeverest/apis/openeverest-schema/changes/resources/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)
