When a PersistentVolumeClaim references a StorageClass, what is created and who provisions it?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

When a PersistentVolumeClaim references a StorageClass, what is created and who provisions it?

Explanation:
When a PVC references a StorageClass, the cluster uses dynamic provisioning to create storage on demand. The StorageClass defines a provisioner and parameters for the underlying storage. The cluster’s storage provisioner creates a new PersistentVolume that matches the PVC’s requested size and access requirements, and this PV is created by the platform according to those parameters. The PVC then binds to that newly created PV. Deployment or Service objects are unrelated to this storage process; they pertain to running and exposing applications, not to provisioning storage.

When a PVC references a StorageClass, the cluster uses dynamic provisioning to create storage on demand. The StorageClass defines a provisioner and parameters for the underlying storage. The cluster’s storage provisioner creates a new PersistentVolume that matches the PVC’s requested size and access requirements, and this PV is created by the platform according to those parameters. The PVC then binds to that newly created PV. Deployment or Service objects are unrelated to this storage process; they pertain to running and exposing applications, not to provisioning storage.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy