tezvyn:

Dynamic Volume Provisioning: Storage on Demand

Source: kubernetes.iointermediate

Dynamic Volume Provisioning lets you request storage by its type (e.g., "fast-ssd") instead of pre-provisioning a disk. Kubernetes automatically creates a matching volume. This is standard for stateful apps.

Dynamic Volume Provisioning lets you request storage by its type (e.g., "fast-ssd") via a StorageClass, instead of manually creating a disk. When your app makes a PersistentVolumeClaim, Kubernetes automatically creates a matching PersistentVolume. This is the standard for stateful apps like databases. The footgun is the reclaimPolicy: `Delete` destroys the underlying storage when the claim is removed, while `Retain` can leave you paying for expensive, orphaned volumes.

Read the original → kubernetes.io

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

Dynamic Volume Provisioning: Storage on Demand · Tezvyn