# Inspect and edit a volume

From the menu, select **Volumes**, then select the persistent volume, persistent volume claim, or storage class you want to inspect.

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

The details view displays the YAML and description of the volume.

## YAML

Displays the YAML generated from the application deployment and lets you edit it directly. Changes made here are applied using the Kubernetes `patch` mechanism.

<figure><img src="/files/3Onz8LIcnl0vLSgm7J0p" alt=""><figcaption></figcaption></figure>

## Describe

Displays the raw description of the volume.

<figure><img src="/files/76YAo5WV6iRPC5eC5A7V" alt=""><figcaption></figcaption></figure>


---

# 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/inspect.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.
