The module lifecycle stage: General Availability
The Deckhouse Kubernetes Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
LocalStorageClass
Scope: Cluster
Version: v1alpha1
-
objectspecDefines a Kubernetes StorageClass configuration.
-
stringspec.fsTypeStorageClass file system type.
Default:
ext4Allowed values:
ext4,xfs -
objectspec.lvm
Required value
LVM configuration.-
array of objectsspec.lvm.lvmVolumeGroups
Required value
List of LVMVolumeGroup resources where PersistentVolumes will be created.-
stringspec.lvm.lvmVolumeGroups.nameLVMVolumeGroup resource name.
-
objectspec.lvm.lvmVolumeGroups.thinThin pool in a LVMVolumeGroup resource.
-
stringspec.lvm.lvmVolumeGroups.thin.poolName
Required value
Thin pool name.Minimal length:
1Pattern:
^.*$
-
-
-
objectspec.lvm.thickSettings for Logical Volumes in a LVMVolumeGroup resource.
-
booleanspec.lvm.thick.contiguous
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 PersistentVolume. 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.
-
-
stringspec.lvm.type
Required value
Provisioning type of the LVM Logical Volumes (LV) created for PersistentVolumes (PV).Allowed values:
Thick,Thin -
stringspec.lvm.volumeCleanup
Volume cleanup method after the PersistentVolume is deleted. If this parameter is not set, there’s no guarantee that the data will be completely deleted.
Allowed values:
RandomFillSinglePass: The volume will be overwritten with random data once before deletion. This option is not recommended for solid-state drives (SSDs), as overwriting reduces the drive’s lifespan.RandomFillThreePass: The volume will be overwritten with random data three times before deletion. This option is also not recommended for SSDs, as overwriting reduces the drive’s lifespan.Discard: Before deletion, all blocks of the volume will be marked as free using thediscardsystem call. This option is applicable only to SSDs.
Allowed values:
RandomFillThreePass,RandomFillSinglePass,Discard
-
-
stringspec.reclaimPolicy
Required value
StorageClass reclaim policy. Possible values:
Delete: If the PersistentVolumeClaim is deleted, the PersistentVolume and its associated storage are also deletedRetain: If the PersistentVolumeClaim is deleted, the PersistentVolume and its associated storage remain
Allowed values:
Delete,Retain -
stringspec.volumeBindingMode
Required value
StorageClass binding mode. Possible values:
Immediate: Creates a PersistentVolume immediately after the PersistentVolumeClaim is createdWaitForFirstConsumer: Creates a PersistentVolume only after a Pod that uses the PersistentVolumeClaim is created
Allowed values:
Immediate,WaitForFirstConsumer
-