Skip to main content

Lessons on lab storage

  • Pick storage per workload. Shared app data → NFS. Databases → local disk on their own VM. One size does not fit all.
  • NFSv4, single port, subnet-scoped. Smallest firewall footprint, simplest mental model.
  • A default StorageClass keeps manifests clean. Apps shouldn't have to know how storage is provided.
  • reclaimPolicy is a real decision. Delete is convenient in a lab; Retain is safer when the data matters and you'd rather clean up by hand.
  • Single NFS server = single point of failure. Fine for a lab; in production you'd want redundancy or a distributed store. Be honest about that tradeoff rather than pretending NFS is something it isn't.