Kubernetes Storage Concepts

Kubernetes Storage Concepts An architecture diagram generated by Archify. Containers in a pod · volumeMounts · Architecture component Containers in a pod volumeMounts StorageClass · Provisioner · parameters · Architecture component StorageClass Provisioner · parameters PersistentVolumeClaim · Requests size · access mode · Architecture component PersistentVolumeClaim Requests size · access mode PersistentVolume · Represents the real volume · Architecture component PersistentVolume Represents the real volume EBS · EFS · FSx · S3 · AWS storage backends · Architecture component EBS · EFS · FSx · S3 AWS storage backends Mounts volume References storageClassName Dynamic provisioning Binds Backs onto Legend Frontend Backend Database Message bus

Storage workflow

  • • An administrator defines the StorageClass and developers request storage with a PVC
  • • The StorageClass drives dynamic PV creation, and the PV binds to the PVC automatically
  • • Pods reach storage through the PVC and containers mount the volume

Key properties

  • • A PV's lifecycle is independent of the pod, so data survives the pod
  • • One API covers EBS, EFS, FSx, S3, and other AWS storage services
  • • Access modes range from single-pod exclusive to shared across many nodes