Skip to content
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN DE
Let's talk

Kubernetes Persistent Volumes

08. 03. 2024 Updated: 24. 03. 2026 1 min read intermediate

Cloud Intermediate

Kubernetes Persistent Volumes

KubernetesStorageVolumes 3 min read

Persistent storage in Kubernetes. PV, PVC, StorageClass and cloud provider integration.

PVC Example

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: postgres-data
spec:
  accessModes: [ReadWriteOnce]
  storageClassName: gp3
  resources:
    requests:
      storage: 50Gi
---
apiVersion: apps/v1
kind: StatefulSet
spec:
  template:
    spec:
      containers:
        - name: postgres
          volumeMounts:
            - name: data
              mountPath: /var/lib/postgresql/data
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: postgres-data

Access Modes

  • ReadWriteOnce (RWO) — single node, read-write
  • ReadOnlyMany (ROX) — multiple nodes, read-only
  • ReadWriteMany (RWX) — multiple nodes, read-write (NFS, EFS)

Summary

PVC abstracts the storage provider. Always use StorageClass for dynamic provisioning.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS team

We build core systems and AI agents that keep operations running. 15 years of experience with enterprise IT.