StorageClass
Names a provisioner and its parameters so PersistentVolumeClaims can be satisfied dynamically.
- Provider
- k8s
- Category
- Data
- Also known as
- sc
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| allowVolumeExpansion | boolean | — | no | false | inherited |
| encryptionAtRest | boolean | — | no | — | inherited |
| iops | integer | — | no | — | inherited |
| isDefaultClass | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ false |
| mediaType | enum | ssd | hdd | no | — | inherited |
| reclaimPolicy | enum | delete | retain | no | delete | inherited |
| redundancy | enum | local | zonal | regional | no | — | inherited |
| sizeGib | integer | — | no | — | inherited |
| snapshots | boolean | — | no | false | inherited |
| volumeBindingMode | enum | immediate | wait-for-first-consumer | no | immediate | 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: "storage-class", component: "k8s-storage-class" }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-volumePersistentVolumeClaimk8s-persistent-volume-claimVolumek8s-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 StorageClass: names a provisioner and its parameters so PersistentVolumeClaims can be # satisfied dynamically. Per "Storage Classes" reclaimPolicy defaults to Delete, so a dynamically # provisioned volume is destroyed with its claim; volumeBindingMode defaults to Immediate, binding # and provisioning as soon as the claim is created rather than waiting for a consuming Pod; # allowVolumeExpansion is unset, so claims cannot be resized; and a class is only the cluster # default when annotated storageclass.kubernetes.io/is-default-class: "true". schemaVersion: "1" type: "component" id: "k8s-storage-class" kind: "block-storage" provider: "k8s" docs: "https://kubernetes.io/docs/concepts/storage/storage-classes/" aliases: ["sc"] defaults: managed: false properties: reclaimPolicy: type: "enum" values: ["delete", "retain"] default: "delete" volumeBindingMode: type: "enum" values: ["immediate", "wait-for-first-consumer"] default: "immediate" allowVolumeExpansion: type: "boolean" default: false isDefaultClass: type: "boolean" default: false