liveBook · Manning

Underlying storage

As explained in Kubernetes in Action, Second Edition

Underlying storage is the physical, virtual, or cloud-backed storage resource represented or accessed by a PersistentVolume.

Underlying storage is the physical, virtual, or cloud-backed resource that a PersistentVolume represents. The PersistentVolume is a pointer to that storage; it does not contain the stored data itself. section 10.3.3

Storage and Kubernetes objects have separate lifecycles. Deleting a pod leaves the PersistentVolumeClaim, PersistentVolume, and underlying storage unchanged. Deleting a claim can affect the volume according to its reclaim policy: dynamically provisioned volumes typically use Delete, while manually provisioned volumes typically use Retain. section 10.3.3

Reusing retained storage

After deleting a claim, a manually provisioned volume can become Released rather than Available. A new claim remains Pending because the old data may require review or removal. Deleting and recreating the PersistentVolume object removes the pointer, not the data, allowing the retained storage to become Available again. section 10.3.3

How Kubernetes in Action, Second Edition covers it

How deep it goes
Defines the storage pointer and follows release, rebinding, reclaim policies, and data preservation without detailing storage-driver internals.
Examples
Uses a local-disk PersistentVolume that moves from Bound to Released and can return to Available after object recreation.
What it assumes
Assumes familiarity with PersistentVolumes and PersistentVolumeClaims while clarifying that the volume object does not store data.
What you can do after
Operate storage safely by interpreting volume states and distinguishing deletion of Kubernetes objects from deletion of stored data.
How it connects
Connects underlying storage to PersistentVolume, PersistentVolumeClaim, pods, dynamic provisioning, and reclaim policy.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes in Action, Second Edition. The section links point to the parts of the book it draws on.