Hands-on Lab·Kubernetes and Cloud Native Associate
PVC Expansion and Volume Snapshots
Patch a PVC from 64Mi to 128Mi and it reports 128Mi requested against 64Mi actual, with FileSystemResizePending. The volume grew; the filesystem has not. Recreate the Pod and both agree - and the other StorageClass on this cluster cannot do it at all.
Storage Guide 23 of 46 Intermediate
- Kubernetes1.36.4
- CSI driverhostpath.csi.k8s.io
- Snapshot APIsnapshot.storage.k8s.io/v1
- TimeAbout 17 min
- Reviewed22 August 2026
Written against the versions above. Behaviour depends on the CSI driver. The two-phase resize and the conditions below are part of the Kubernetes contract; whether an online resize needs a remount is up to the driver.
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| CKA1001 | 192.168.0.175 | Ubuntu 26.04 LTS | Control Plane Node | 2 Core | 4 GB | 50 GB |
| CKA1001-NODE02 | 192.168.0.177 | Ubuntu 26.04 LTS | Worker Node | 2 Core | 4 GB | 50 GB |
Before you start
- A CSI StorageClass with
allowVolumeExpansion: true, and a VolumeSnapshotClass for the snapshot step. - The PersistentVolumes and StorageClasses guides from the fundamentals track.
-
Two classes, two capability sets
-
Claim it, mount it, write to it
-
Patch it larger, and read the disagreement
-
Recreate the Pod and they agree
-
Snapshot it
-
The other class cannot