liveBook · Manning

Ebs storage class

As explained in Effective Platform Engineering

An EBS storage class is a Kubernetes storage configuration that dynamically provisions Amazon Elastic Block Store volumes for persistent storage claims.

An EBS storage class dynamically provisions Amazon Elastic Block Store volumes for Kubernetes persistent storage claims. Treat it as an operational contract: applications request storage, while platform tests verify that provisioning, mounting, writing, and resizing work. section 7.4.6

Validate the storage class by checking that it can:

  • Create a PersistentVolumeClaim using the cluster’s default EBS CSI storage class. section 7.4.6

Dynamic-volume smoke test

Apply a claim and pod, wait for the pod to run, then use Bats to confirm the claim is bound, the pod is healthy, and /data/out.txt contains timestamped writes. Update the claim size and verify the bound claim reports 8Gi.

How Effective Platform Engineering covers it

How deep it goes
Tests the operational lifecycle end to end but does not detail EBS CSI internals or storage-class implementation parameters.
Examples
Uses a 4Gi claim, a timestamp-writing pod, Bats assertions, and an expansion check expecting 8Gi.
What it assumes
Assumes Kubernetes pods, claims, kubectl, and EKS node scheduling, while teaching the storage validation sequence from claim creation through expansion.
What you can do after
Diagnose/debug with it by proving whether EBS-backed claims provision, mount, accept writes, and expand successfully.
How it connects
Connects persistent volume claims, dynamic provisioning, EBS CSI, Kubernetes pods, node scheduling, and volume expansion.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Platform Engineering. The section links point to the parts of the book it draws on.