Kubernetes - PV Reclaim Policies and Recovery
Observe the Delete and Retain reclaim policies in action, recover a Released PV by patching claimRef, and recover data by creating a new PV pointing to the same storage directory.
Focused hands-on problems designed to help you hone your DevOps or Server Side skills. Some challenges are more educational, while others are based on real-world scenarios. The platform provides hints and feedback for each challenge, including automated solution checks.
Challenges contributed by the community members sharing their knowledge and expertise.
Observe the Delete and Retain reclaim policies in action, recover a Released PV by patching claimRef, and recover data by creating a new PV pointing to the same storage directory.
Explore how the DefaultStorageClass admission controller injects storage classes, explicitly name a StorageClass, switch the cluster default, and inspect where local-path stores volumes on the node.
Learn the three static PV binding patterns - generic match, label selector, and bidirectional claimRef - then use a no-provisioner StorageClass with WaitForFirstConsumer to pin storage to a specific node.
Use emptyDir volumes to share data between containers, understand the volume lifecycle across container restarts and pod deletion, and explore memory-backed ephemeral storage.