PersistentVolume
Piece of cluster storage with a lifecycle independent of any Pod, bound exclusively to one claim.
- Provider
- k8s
- Category
- Data
- Also known as
- pv
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| accessMode | enum | read-write-once | read-only-many | read-write-many | read-write-once-pod | no | — | inherited |
| encryptionAtRest | boolean | — | no | — | inherited |
| exclusiveBinding | boolean | — | no | true | inherited |
| iops | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| mediaType | enum | ssd | hdd | no | — | inherited |
| provisioning | enum | static | dynamic | no | — | inherited |
| reclaimPolicy | enum | retain | delete | recycle | no | retain | inherited |
| redundancy | enum | local | zonal | regional | no | — | inherited |
| sizeGib | integer | — | no | — | inherited |
| snapshots | boolean | — | no | false | inherited |
| volumeMode | enum | filesystem | block | no | filesystem | inherited |
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.
nodes:
- { id: "persistent-volume", component: "k8s-persistent-volume" }Elastic Block Storagealibaba-ebsAmazon EBSaws-ebsEC2 instance storeaws-instance-storeAzure Container Storageazure-container-storageAzure Elastic SANazure-elastic-sanAzure Disk Storageazure-managed-diskGeneric block storage volumeblock-storageBlock volumeblock-volumeCeph RBDceph-rbdLonghornlonghornOpenEBSopenebsOpenZFSopenzfsPortworxportworxVolumes Block Storagedigitalocean-volumesHyperdiskgoogle-hyperdiskLocal SSDgoogle-local-ssdPersistent Diskgoogle-persistent-diskIBM Cloud Block Storage for VPCibm-block-storageBlock Storage for Classicibm-block-storage-classicIBM Storage Ceph as a Serviceibm-storage-cephPersistentVolumeClaimk8s-persistent-volume-claimStorageClassk8s-storage-classVolumek8s-volumeOCI Block Volumeoci-block-volumeOCI Boot Volumeoci-boot-volumeOCI Local NVMe Storageoci-local-nvmeOpenStack Cinderopenstack-cinderBlock Storage Unit (BSU)outscale-bsu
# 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