---
title: "Get the capacity and available resources of a kubernetes cluster"
method: GET
path: "/resources"
tags: ["k8s"]
---

# Get the capacity and available resources of a kubernetes cluster

`GET /resources`

Get the capacity and available resources of a 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-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.dev/openeverest/apis/openeverest-schema/revisions/dec31e5eea8e?raw)
