Cluster Storage with NFS (CSI)
Dynamic ReadWriteMany volumes for the cluster: a dedicated NFS server plus the NFS CSI driver wired up as the default StorageClass.
Why NFS for cluster storage
Pods are disposable; their data shouldn't be. Kubernetes solves that with PersistentVolumes — sto...
The NFS server
A dedicated VM (K8s-NFS, 10.100.100.12) does one job: export a directory. K8s-NFS (10.100.100.12)...
The CSI driver and the default StorageClass
A bare NFS export is static — you'd have to hand-create a PersistentVolume for every claim. The C...
Proving it actually works
Storage you haven't tested is a rumour. The check is a throwaway claim: kubectl apply -f - <<'YAM...
Lessons on lab storage
Pick storage per workload. Shared app data → NFS. Databases → local disk on their own VM. One si...