PersistentVolumeClaim
A Pod's request for storage of a given size and access mode, bound to one PersistentVolume.
- Provider
- k8s
- Category
- Data
- Also known as
- pvc
| 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 |
| dynamicProvisioning | boolean | — | no | true | inherited |
| encryptionAtRest | boolean | — | no | — | inherited |
| expandable | boolean | — | no | false | inherited |
| inUseProtection | boolean | — | no | true | inherited |
| iops | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| mediaType | enum | ssd | hdd | no | — | 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-claim", component: "k8s-persistent-volume-claim" }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-cephPersistentVolumek8s-persistent-volumeStorageClassk8s-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 PersistentVolumeClaim: a Pod's request for storage of a given size and access mode, # bound to one PersistentVolume. Per "Persistent Volumes" volumeMode defaults to Filesystem, the # access mode must be requested explicitly and has no default, omitting storageClassName routes the # claim to the cluster's default StorageClass for dynamic provisioning while an empty string # disables it, and storage object in use protection keeps a bound claim from being removed while a # Pod still uses it. Resizing needs allowVolumeExpansion on the class, which is unset by default. schemaVersion: "1" type: "component" id: "k8s-persistent-volume-claim" kind: "block-storage" provider: "k8s" docs: "https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims" aliases: ["pvc"] defaults: managed: false properties: volumeMode: type: "enum" values: ["filesystem", "block"] default: "filesystem" accessMode: type: "enum" values: ["read-write-once", "read-only-many", "read-write-many", "read-write-once-pod"] dynamicProvisioning: type: "boolean" default: true inUseProtection: type: "boolean" default: true expandable: type: "boolean" default: false