liveBook · Manning

Persistent volume claim

As explained in Google Anthos in Action

A PersistentVolumeClaim is a Kubernetes resource through which a workload requests storage with specified capacity and access properties.

A PersistentVolumeClaim is a Kubernetes resource that lets a workload request durable storage from a PersistentVolume. Its request specifies properties such as required capacity and access mode. section 15.4.3

Use the claim to connect workload storage requirements with cluster-managed durable storage:

  • PersistentVolume provides and manages the durable storage resource. section 15.4.3
  • PersistentVolumeClaim requests and claims that resource using a specified size and access mode. section 15.4.3
  • Stateful applications and data-oriented deployments use claims alongside Pods and other generated Kubernetes resources. section 15.4.3

Generated migration deployment

A Migrate for Anthos deployment specification for a stateful application includes a PersistentVolume, a PersistentVolumeClaim, and Pods generated from the migrated workload. A data-oriented specification includes the same storage pair. section 15.4.3

How Google Anthos in Action covers it

How deep it goes
Defines the claim as a request for a PersistentVolume and identifies capacity and access mode, without detailing binding mechanics.
Examples
Uses generated Migrate for Anthos YAML for stateful applications and data deployments.
What you can do after
Evaluate how a workload requests durable storage by specifying capacity and access properties.
How it connects
Ties PersistentVolumeClaim to PersistentVolume, StatefulSet, Pods, and Kubernetes deployment specifications.

Also explained in

Compare how 9 books explain persistent volume claim →

Related concepts

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