# Persistent Volumes

A Persistent Volume (or PV) is simply a directory on a disk that is reachable from the containers inside a pod. Persistent Volume types are implemented as plugins in Kubernetes. This allows for both physical storage devices like NFS, NAS, and SSDs or cloud-based storage types like Amazon Elastic Block Store, Google Cloud Storage, or Azure disks access to a cluster via these plugin objects. PVs are either set up manually by an administrator or dynamically allocated using [Storage Classes](https://platform9.com/docs/kubernetes/storage). It should be noted that PVs are independent of the individual Pods which utilizes them.

To get to this tab, go to the Storage > Persistent Volumes page. This view shows a significant amount of info about the PV.

<figure><img src="https://584068516-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZryvDiHvZIhOZofYOWU%2Fuploads%2Fgit-blob-72abd2197936fb40b22d4e4e1f3ace24284138c4%2F9lswu40rsv242efa0tqkxtj1rnvmg6v8pdiy0177z5en8md43dh2rr3wftkyz1ru.png?alt=media" alt=""><figcaption></figcaption></figure>

The column data can be configured to show the following information.

* Name – The name of the volume
* Namespace – The namespace location of the PV
* Cluster – The cluster the PV is attached to
* Capacity – The amount of storage capacity provided for in the PV
* Access Modes – This field indicates the CSI drivers specs
* Reclaim Policy – The reclaim policy can be either Delete or Retain. The default setting is Delete.
* Status – Defines whether the PV is bound or unbound
* Claim – This shows whether a PV is bound
* Label – This is the field that the user defines for the PV
* Storage Class – The name of the CSI driver used in the storage class
* Created – When the PV was created

## Examples

Below is an example of a YAML file for a PV.

{% tabs %}
{% tab title="PV YAML" %}

```yaml
apiVersion: v1
kind: PersistentVolume
metadata:
  name: foo-pv
spec:
  storageClassName: ""
  claimRef:
    name: foo-pvc
    namespace: foo
  ...
```

{% endtab %}
{% endtabs %}
