Study FAQ
When should I use dynamic or static provisioning for VKS persistent volumes?
Also asked as 2
- How do I choose between a new CSI volume and an existing volume in VKS?
- How does volume ownership differ between dynamically and statically provisioned VKS storage?
Answer
Use dynamic provisioning when a VKS workload needs a new volume from an authorized StorageClass. Use static provisioning when a supported import workflow exposes an existing volume through a matching Kubernetes PersistentVolume (PV) and PersistentVolumeClaim (PVC). In VCF 9.0, verify the vSphere CSI support and ownership requirements for the backing volume before registering or reusing it.
With dynamic provisioning, the class directs CSI to create the volume, and the resulting PV inherits the class's reclaim policy. The Kubernetes default for a dynamically provisioned volume is Delete when the StorageClass omits a reclaim policy. For a static volume, the administrator controls the PV definition and must verify the existing volume's identity, ownership, access mode, topology, and compatibility with the claim.
Check the bound PV's effective policy before removing a claim. With Delete, the CSI workflow can remove the backing storage after the claim is released. With Retain, the backing storage remains for a deliberate recovery or cleanup workflow. Record who owns that workflow and preserve any required backup before deleting the claim.
Official references
Full explanation
vSAN and Persistent Storage Architecture for VKS
Study guide · 3V0-24.25
Read the full explanation