Q22
How do you explain the relationships between PersistentVolumes (PV), PersistentVolumeClaims (PVC), and StorageClasses?
💬Answer
A PersistentVolume (PV) is the actual storage resource available in the cluster. A PersistentVolumeClaim (PVC) is a request for storage made by an application or Pod. A StorageClass defines how storage should be dynamically provisioned, such as the storage type and provisioner. When a PVC is created, Kubernetes either binds it to an existing PV or uses the StorageClass to dynamically create a new PV and bind it to the claim.
Related Kubernetes Questions
View All KubernetesQuestions →
Created by
Apurv Gujjar
DevOps & Cloud Engineer
Specialized in:DevOpsAWSGCPKubernetesTerraformDocker
View Portfolio