Модуль доступен только в Deckhouse Enterprise Edition.
Функциональность модуля может сильно измениться. Совместимость с будущими версиями не гарантируется
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
-
specОпределяет конфигурацию StorageClass.
-
spec.reclaimPolicy
Обязательный параметр
Режим поведения при удалении PVC. Может быть:
- Delete (При удалении PVC будет удален PV и данные на NFS-сервере)
- Retain (При удалении PVC не будут удалены PV и данные на NFS-сервере, потребуют ручного удаления пользователем)
Допустимые значения:
Delete
,Retain
-
spec.scsiDeviceSelector
Обязательный параметр
Селектор для выбора ресурсов SCSIDevice, которые будут использоваться для провижининга PV. Только те SCSIDevice, которые удовлетворяют данным критериям, будут выбраны CSI драйвером для данного StorageClass.-
spec.scsiDeviceSelector.matchExpressionsСписок расширенных требований для селектора. Каждое требование задаёт ключ, оператор и опциональный список значений для фильтрации SCSIDevice.
-
spec.scsiDeviceSelector.matchExpressions.keyThe label key that the selector applies to.
-
spec.scsiDeviceSelector.matchExpressions.operatorThe operator to apply for the key.
Допустимые значения:
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.matchLabelsКарта меток, которые должны точно совпадать с метками на SCSIDevice. Устройства, не имеющие всех указанных меток с нужными значениями, будут исключены.
-
-
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.
Допустимые значения:
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
Обязательный параметр
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
Обязательный параметр
Login is the username used for authentication with the iSCSI target. -
spec.iSCSI.auth.password
Обязательный параметр
Password is the password used for authentication with the iSCSI target.
-
-
spec.iSCSI.iqn
Обязательный параметр
IQN is the iSCSI Qualified Name of the target. -
spec.iSCSI.portals
Обязательный параметр
Portals is a list of portal addresses (IP:port) for accessing the iSCSI target.
-
-