Pods can be replaced. Persisting data and sharing temporary state across multiple Pods are different requirements.
Choose storage by its access model
| Component | Common purpose | Important constraint |
|---|---|---|
| Block storage | Disk-based databases and filesystems | Node, zone and access-mode limits |
| Object storage | Uploaded assets, backups and images | Object API and access policies |
| PV/PVC | Requesting persistent volumes in Kubernetes | Depends on the underlying volume type |
| Redis | Cache, session state, counters | Persistence and high-availability configuration |
Block storage behaves like an attached disk. Kubernetes PersistentVolumes and PersistentVolumeClaims describe how volumes are provisioned and requested, not a guarantee that every Pod can mount the same filesystem simultaneously.
Object storage uses objects and keys instead of ordinary local filesystem operations. Redis is an in-memory data store that can provide cache and session sharing, with persistence options whose guarantees depend on configuration.
Scaling Pods also changes session assumptions
If two web Pods store sessions only in their local memory, moving requests between replicas can produce inconsistent login state. A shared session service may address this, provided its own availability and data-retention behavior are understood.
The better starting question is not only how much storage, but who reads it, how long it must survive, and whether Pods must share it.