PersistentVolume

k8sBlock storage volumek8s-persistent-volume

Piece of cluster storage with a lifecycle independent of any Pod, bound exclusively to one claim.

Provider
k8s
Category
Data
Also known as
pv
Properties · 1 set by this component
propertytypevaluesrequiredkind defaultthis component
accessMode · component propertyenumread-write-once | read-only-many | read-write-many | read-write-once-podno—inherited
encryptionAtRestboolean—no—inherited
exclusiveBinding · component propertyboolean—notrueinherited
iopsinteger—no—inherited
managedboolean—nofalse▸ false
mediaTypeenumssd | hddno—inherited
provisioning · component propertyenumstatic | dynamicno—inherited
reclaimPolicy · component propertyenumretain | delete | recyclenoretaininherited
redundancyenumlocal | zonal | regionalno—inherited
sizeGibinteger—no—inherited
snapshotsboolean—nofalseinherited
volumeMode · component propertyenumfilesystem | blocknofilesysteminherited
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "persistent-volume", component: "k8s-persistent-volume" }
Other Block storage volume products · 28
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Kubernetes PersistentVolume: a piece of cluster storage with a lifecycle independent of any Pod,
# provisioned by an administrator or dynamically by a StorageClass. Per "Persistent Volumes"
# volumeMode defaults to Filesystem, a manually created PV defaults to the Retain reclaim policy
# while a dynamically provisioned one inherits Delete from its StorageClass, binding to a claim is
# one-to-one and exclusive, and access mode must be stated explicitly -- there is no default.
# Durability, encryption and redundancy come from the backing storage, so none of them are set.
schemaVersion: "1"
type: "component"
id: "k8s-persistent-volume"
kind: "block-storage"
provider: "k8s"
docs: "https://kubernetes.io/docs/concepts/storage/persistent-volumes/"
aliases: ["pv"]
defaults:
  managed: false
properties:
  volumeMode:
    type: "enum"
    values: ["filesystem", "block"]
    default: "filesystem"
  reclaimPolicy:
    type: "enum"
    values: ["retain", "delete", "recycle"]
    default: "retain"
  accessMode:
    type: "enum"
    values: ["read-write-once", "read-only-many", "read-write-many", "read-write-once-pod"]
  provisioning:
    type: "enum"
    values: ["static", "dynamic"]
  exclusiveBinding:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/k8s-persistent-volume.md