LocalStorageClass
Scope: Cluster
Version: v1alpha1
LocalStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.
- array of objects
Required value
LVMVolumeGroup resources where Persistent Volume will be create on.
- boolean
If true, the Logical Volume will be created with the contiguous flag. Note: This flag should be used with caution because it may lead to poor scheduling of pods using the Persistent Volume. Our scheduler checks the free space in VG and selects nodes with the most free space for pods. However, it cannot determine the maximum amount of sequential free space available. Consequently, there may be situations where a pod is scheduled to a node, but the volume cannot be created due to insufficient contiguous free space. If such a situation arises, manual intervention will be required.
- string
Required value
The storage class’s reclaim policy:
Delete
— if the Persistent Volume Claim is deleted, deletes the Persistent Volume and its associated storage as well;Retain
— if the Persistent Volume Claim is deleted, remains the Persistent Volume and its associated storage.
Allowed values:
Delete
,Retain