Kubernetes 101 : Local storage provisioning - PersistentVolume "PV", PersistentVolumeClaim "PVC"



Storage provisioning :


We have "2 Gi" of storage on our host in the directory "/opt/pod-storage".

We can advertise our storage using a kubernetes persistent volume as below:


A persistent volume claim is a request for a persistent volume:


The pod uses the storage shown or "advertised" in the persistent volume claim - PVC - to ask for storage:

Comments

Leave as a comment:

Archive