liveBook · Manning

StorageClass

A StorageClass is a Kubernetes API resource that defines a category of storage and the provisioner and parameters for dynamically creating volumes.

How 4 Manning books explain it

Kubernetes in Action, Second Edition

A StorageClass is a Kubernetes API resource that defines a category of storage, its provisioner, and parameters for dynamically creating volumes in that category.

How it is used
Identifies the kind of persistent storage a claim requests and the provisioner used to create its volume.
How deep it goes
Explains fields through inspected YAML and contrasts binding modes; demonstrates a local class without detailing CSI driver internals.
Examples
Uses kubectl class listings, a claim requesting premium-rwo, inspected GKE class YAML, and a manually provided local volume.
What you can do after
Operate/configure it by inspecting classes, selecting one in a claim, or defining a class for manually provided local storage.

Read how Kubernetes in Action, Second Edition explains StorageClass →

Acing the Certified Kubernetes Administrator Exam, Second Edition

A storage class is a Kubernetes object that describes a class of storage and supports dynamic storage provisioning.

How it is used
Enables PVCs to request a class of persistent storage for pods without manually creating each PV.
How deep it goes
Works through class inspection, PVC selection, delayed binding, and PV verification; stops short of provisioner internals.
Examples
Uses a `standard` class, a 1 GiB claim mounted at `/var/lib/mysql`, and a `node-local` practice exercise.
What you can do after
Apply it via kubectl by selecting an existing class in a PVC, mounting the claim, and verifying its PV.

Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains StorageClass →

Kubernetes for Developers

A Kubernetes storage class describes a category of dynamically provisioned storage and the parameters used to create volumes in that category.

How it is used
Selects dynamically provisioned disk types and deletion behavior for storage requested through PersistentVolumeClaims.
How deep it goes
Shows class inspection, a configurable manifest, and reclaim-policy consequences; does not detail provisioner internals.
Examples
Uses a retained-disk StorageClass, Redis recovery, and an SSD-backed scratch volume with automatic cleanup.
What you can do after
Operate/configure it with kubectl and a StorageClass manifest to choose storage parameters and an appropriate reclaim policy.

Read how Kubernetes for Developers explains StorageClass →

Effective Platform Engineering

A storage class is a Kubernetes resource that describes a category of storage and the provisioner and parameters used to create it dynamically.

How it is used
Provides standardized dynamic storage for common persistent-volume-claim needs on the platform.
How deep it goes
Defines concrete EBS and EFS manifests and parameters, but defers customized self-service storage provisioning.
Examples
Uses encrypted XFS io1 EBS volumes and EFS access points organized by PVC namespace and name.
What you can do after
Operate/configure standard EBS and EFS provisioning by applying cluster-specific StorageClass manifests.

Read how Effective Platform Engineering explains StorageClass →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.