Overview

A Persistent Volume Claim (PVC) is a request for storage by a user. It is similar to a Pod. Pods consume node resources and PVCs consume PV resources. Claims can request specific size and access modes (e.g., they can be mounted ReadWriteOnce, ReadOnlyMany, or ReadWriteMany).

How it Works

  1. Request: A user creates a PVC specifying the amount of storage and access mode needed.
  2. Binding: Kubernetes looks for a PV that satisfies the claim and binds them together.
  3. Usage: The user then specifies the PVC in their Pod configuration to mount the storage.

Dynamic Provisioning

If no static PV matches the PVC, Kubernetes can use a StorageClass to automatically create a new PV on the fly.

Related Terms