Kubernetes Storage
3 Topics
1
Persistent Volumes and Persistent Volume Claims
Understanding disk allocations and request configurations.
Understand the distinction between PV and PVC. Be ready to explain how the K8s control loop binds PVCs to PVs, the RWO/ROX/RWX/RWOP access modes, and reclaim policies (Retain, Delete). Explain how hostPath volumes behave in multi-node clusters.
2
Storage Classes and Dynamic Provisioning
Automating volume creation with CSI drivers.
Focus on dynamic volume provisioning vs static provisioning. Explain the role of the Container Storage Interface (CSI) driver. Be prepared to explain why volumeBindingMode: WaitForFirstConsumer is crucial in multi-AZ cloud environments to prevent scheduling deadlocks.
3
Running Databases on Kubernetes — Trade-offs and Patterns
Evaluating operators, StatefulSets, storage performance, and risks.
Be prepared to debate stateful vs stateless architecture. Detail the differences between local NVMe and cloud-network storage (latency vs availability). Explain what Database Operators do beyond StatefulSets (failovers, replication, backups). Address split-brain mitigation.