Модуль доступен только в Deckhouse Enterprise Edition.

Функциональность модуля может сильно измениться. Совместимость с будущими версиями не гарантируется

SCSIDevice

Scope: Cluster
Version: v1alpha1

SCSIDevice defines the configuration for a single SCSI device. This object is used to manage SCSI devices and their associated storage on Kubernetes nodes.

SCSIStorageClass

Scope: Cluster
Version: v1alpha1

Интерфейс управления StorageСlass для CSI-драйвера scsi-generic.csi.storage.deckhouse.io. Ручное создание StorageClass для данного драйвера запрещено.
  • 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.key
          строка
          The label key that the selector applies to.
        • spec.scsiDeviceSelector.matchExpressions.operator
          строка
          The operator to apply for the key.

          Допустимые значения: In, NotIn, Exists, DoesNotExist

        • spec.scsiDeviceSelector.matchExpressions.values
          массив строк
          A 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

SCSITarget defines the configuration for a single iSCSI or Fibre Channel target resource.
  • apiVersion
    строка
    APIVersion 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
  • kind
    строка
    Kind 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
    объект
  • spec
    объект
    Spec defines the desired state of the target.
    • spec.deviceTemplate
      объект
      DeviceTemplate defines the metadata for dynamically created devices.
      • spec.deviceTemplate.metadata
        объект
        Metadata specifies the metadata to be applied to devices.
        • spec.deviceTemplate.metadata.labels
          объект
          Labels are key-value pairs that may be used to select devices.
    • spec.fibreChannel
      объект
      FibreChannel 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.iSCSI
      объект
      iSCSI defines the configuration for an iSCSI target.
      • spec.iSCSI.auth
        объект
        Auth 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.