# Volumes

In Kubernetes, a volume is an abstraction of a file system made available to applications. In Portainer, you can manage the volumes deployed by your applications within your cluster.

Volumes and storage classes can be added [using a manifest](/sts/user/kubernetes/applications/manifest/create.md) or a [helm chart](/sts/user/kubernetes/applications/manifest/helm.md) by clicking **Create from code.**

## Persistent volumes

Lists the persistent volumes that exist within the cluster. To edit the reclaim policy of a volume, select the edit icon in the **Actions** menu. Click the volume name to [view its details](/sts/user/kubernetes/volumes/inspect.md).

<figure><img src="/files/kI8Z1cYofAuCqt4t24Y4" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/pjobn8VYGBVXhN0AbSwC" alt="" width="364"><figcaption></figcaption></figure>

## Persistent volume claims

Lists the persistent volume claims that exist within the cluster. To resize a persistent volume claim, select the edit icon in the **Actions** menu. Click the volume name to [view its details](/sts/user/kubernetes/volumes/inspect.md).

<figure><img src="/files/IwYrbRPItRvggeF54Oag" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/OQrSh2Uf2l8aFWFBDRCw" alt="" width="352"><figcaption></figcaption></figure>

## Storage classes

Lists the storage classes available within your cluster. To set a storage class as the cluster default, select the star icon in the **Actions** menu. Click the storage class name to [view its details](/sts/user/kubernetes/volumes/inspect.md).

<figure><img src="/files/oeihuCc4YNeKTnrTTe3d" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/-Mi-N4gt6ws8W5tqWrUe" %}
[Inspect and edit a volume](/sts/user/kubernetes/volumes/inspect.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mhuf39xygebrDMmjnF1" %}
[Remove a volume](/sts/user/docker/volumes/remove.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.portainer.io/sts/user/kubernetes/volumes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
