The module is available only in Deckhouse Enterprise Edition.
The functionality of the module might significantly change. Compatibility with future versions is not guaranteed.
SCSIDevice
Scope: Cluster
Version: v1alpha1
-
apiVersionAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
kindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
metadata
SCSIStorageClass
Scope: Cluster
Version: v1alpha1
-
specDefines a Kubernetes Storage class configuration.
-
spec.reclaimPolicy
Required value
Reclaim policy defines the policy for reclaiming the SCSI device when the PersistentVolume is deleted.Allowed values:
Delete
,Retain
-
spec.scsiDeviceSelector
Required value
Selector for choosing SCSIDevice resources to be used for PV provisioning by the CSI driver. Only SCSIDevice objects that satisfy the criteria defined below will be eligible for selection by the CSI driver for this StorageClass.-
spec.scsiDeviceSelector.matchExpressionsAn array of label selector requirements. Each requirement specifies a key, an operator, and an optional list of values. An SCSIDevice must meet these conditions to be selected.
-
spec.scsiDeviceSelector.matchExpressions.keyThe label key that the selector applies to.
-
spec.scsiDeviceSelector.matchExpressions.operatorThe operator to apply for the key.
Allowed values:
In
,NotIn
,Exists
,DoesNotExist
-
spec.scsiDeviceSelector.matchExpressions.valuesA list of string values. Required for operators such as In or NotIn, and ignored for Exists or DoesNotExist.
-
-
spec.scsiDeviceSelector.matchLabelsA map of key-value pairs that must exactly match the labels on a SCSIDevice. Devices that do not have all of the specified labels with the exact values will be excluded.
-
-
spec.volumeCleanup
VolumeCleanup defines the policy for cleaning up the SCSI device when the PersistentVolume is deleted. If ommited, no cleanup will be performed.
-
Discard: Sends a SCSI TRIM or discard command to the device, marking the blocks as free without necessarily overwriting the data. This option is typically faster but may not securely erase data.
-
RandomFillSinglePass: Overwrites the entire device with random data in a single pass. This option is not recommended for solid-state drives, as it reduces the lifespan of the drive.
-
RandomFillThreePass: Overwrites the device with random data in three separate passes. This option is not recommended for solid-state drives, as it reduces the lifespan of the drive.
Allowed values:
Discard
,RandomFillSinglePass
,RandomFillThreePass
-
-
SCSITarget
Scope: Cluster
Version: v1alpha1
-
apiVersionAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
kindKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
metadata
-
specSpec defines the desired state of the target.
-
spec.deviceTemplateDeviceTemplate defines the metadata for dynamically created devices.
-
spec.deviceTemplate.metadataMetadata specifies the metadata to be applied to devices.
-
spec.deviceTemplate.metadata.labelsLabels are key-value pairs that may be used to select devices.
-
-
-
spec.fibreChannelFibreChannel defines the configuration for a Fibre Channel target.
-
spec.fibreChannel.WWNs
Required value
WWNs is a list of World Wide Names for the Fibre Channel target.
-
-
spec.iSCSIiSCSI defines the configuration for an iSCSI target.
-
spec.iSCSI.authAuth specifies authentication details for accessing the iSCSI target.
-
spec.iSCSI.auth.login
Required value
Login is the username used for authentication with the iSCSI target. -
spec.iSCSI.auth.password
Required value
Password is the password used for authentication with the iSCSI target.
-
-
spec.iSCSI.iqn
Required value
IQN is the iSCSI Qualified Name of the target. -
spec.iSCSI.portals
Required value
Portals is a list of portal addresses (IP:port) for accessing the iSCSI target.
-
-