>_ IzzyLab

Topic breakdown

A PersistentVolumeClaim is a pod's request for persistent storage: it asks for a volume and an access mode, and the cluster matches a volume to it. accessModes is a list; ReadWriteOnce means mounting for writing by only one node (the typical mode for databases and ordinary applications). The requested volume lives in spec.resources.requests.storage and is given as a string with a suffix (1Gi — gibibyte, a power of two). Adding both fields to existing YAML is conveniently done with an editor like yq.

What's checked

  1. Manifest is valid
  2. Mode ReadWriteOnce
  3. 1Gi requested

What it looks like