Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Role: Storage & Persistence

Responsibility

The Storage role manages the state of the platform. It provides persistent volumes to applications and ensures that data is replicated and backed up according to its criticality.

Key Guarantees

  • Data Durability: Protection against single-node or single-disk failure.
  • RPO/RTO Compliance: Backups must be performed and verified according to policy.
  • Abstraction: Applications should request storage via standard interfaces (e.g., PVCs) without knowing the underlying disk layout.

Implementation Options

OptionBest FitGood AtCosts / RisksIntegration Notes
LonghornK3s, K8sEasy replicated block storage.Performance/latency tradeoffs.Tie into snapshot/backup story (Velero).
Rook-CephK8s, TalosPowerful HA, block/file/object storage.Complexity; resource hungry; learning curve.Needs disciplined node disks and upgrade choreography.
ZFSNomad, K8sSolid local storage, snapshots, replication.Not a distributed fabric; HA is “replication + restore”.Orchestration integration varies; great for “pet data”.
NFS / SMBAnySimple shared storage.Central dependency; HA depends on NAS.Backups are straightforward; locking semantics vary.

Typical Stack Pairings

  • K3s: Longhorn
  • Talos/K8s: Rook-Ceph (for strong HA) or NFS (for simplicity)
  • Nomad: ZFS (host-based) + replication or NFS