The module lifecycle stage: Generally available version

The module has requirements for installation

Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.

HuaweiStorageClass

Scope: Cluster
Version: v1alpha1

HuaweiStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.
  • spec
    object
    Defines the StorageClass configuration.
    • spec.fsType
      string

      Required value

      The filesystem type of the storage class.

      Allowed values: xfs, ext4

    • spec.nfs
      object

      NFS settings of the class.

      Required when the HuaweiStorageConnection has protocol: NFS, and not allowed otherwise.

      • spec.nfs.authClients
        array of strings

        Required value

        Hosts allowed to mount the volumes of the class: IP addresses, networks such as 192.168.0.0/24, host names, or * for any host.

        The storage system grants these hosts read-write access to the NFS share of every volume it creates for the class.

        • spec.nfs.authClients.Element of the array
          string

          Length: 1..253

          Pattern: ^[^;\s]+$

      • spec.nfs.rootSquash
        boolean

        Map the root user of the clients to an anonymous user on the NFS shares of the class (root_squash).

        When false (the default), root on a host listed in authClients is root on the share (no_root_squash), which is what the Huawei CSI driver sets.

    • spec.pool
      string

      Required value

      Name of the pool.

      Minimum length: 1

    • spec.reclaimPolicy
      string

      Required value

      The storage class’s reclaim policy. Might be:

      • 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

    • spec.storageConnectionName
      string

      Required value

      Name of the HuaweiStorageConnection object.

      Minimum length: 1

  • status
    object
    Displays current information about the StorageClass.
    • status.conditions
      array of objects
      The latest observations of the resource state. Condition type: Ready.
      • status.conditions.lastTransitionTime
        string
        Timestamp of the last status transition for this condition. It is not bumped when only the reason or the message changes.
      • status.conditions.message
        string
        Human-readable explanation of the current status.

        Maximum length: 32768

      • status.conditions.observedGeneration
        integer
        The value of metadata.generation this condition was set against.

        Allowed values: 0 <= X

      • status.conditions.reason
        string
        Machine-readable reason for the current status, suitable for log filtering and alerting.

        Length: 1..1024

        Pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

      • status.conditions.status
        string
        Current status of the condition.

        Allowed values: True, False, Unknown

      • status.conditions.type
        string
        Condition type. Ready is True once the StorageClass is in place, and False either when a reconcile pass failed (reason: ReconcileFailed) or while the resource is still being torn down after a deletion request (reason: Deleting). The condition is absent until the controller has processed the resource for the first time.

        Maximum length: 316

        Pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

    • status.observedGeneration
      integer
      The value of metadata.generation the controller has last acted on. When it trails metadata.generation, the controller has not yet processed the latest spec, and the conditions below still describe the previous one.
    • status.phase
      string

      The StorageClass current state. Might be:

      • Failed (if the controller received incorrect object configuration, or some errors occurred during the operation)
      • Created (if everything went fine)

      Allowed values: Failed, Created

    • status.reason
      string
      Additional information about the current state of the StorageClass.

HuaweiStorageConnection

Scope: Cluster
Version: v1alpha1

Huawei storage connection parameters.
  • spec
    object
    • spec.dtreeParentName
      string

      Name of the file system on the storage system in which the dtrees of the volumes are created.

      Required for storageType: OceanStorDtree and not allowed for the other storage types.

      Length: 1..255

    • spec.login
      string

      Required value

      Username for authenticating with the storage system.
    • spec.maxClientThreads
      integer

      Required value

      Maximum number of concurrent client connections to the storage system.
    • spec.password
      string

      Required value

      Password for authenticating with the storage system.

      If the caller is not allowed to read the huaweistorageconnections/sensitive subresource, the API returns <omitted> instead of the value.

    • spec.pools
      array of strings

      Required value

      List of storage pool names on the storage system.
    • spec.portals
      array of strings

      List of data-plane portal addresses (IP addresses) of the storage system.

      With protocol: NFS, exactly one address: the logical port of the storage system that serves NFS.

    • spec.protocol
      string

      Required value

      The data transport protocol used to connect to the storage system.

      The protocol has to be supported by the storage type: OceanStorSAN supports ISCSI and FC; OceanStorNAS and OceanStorDtree support NFS; FusionStorageSAN supports ISCSI; FusionStorageNAS supports NFS and DPC.

      ROCE, FC-NVME and SCSI are not supported and are rejected when a connection is created: the module does not label the nodes for them, so no volume can be provisioned over them. The values stay in the enum only so that connections stored earlier remain valid.

      To use ROCE, FC-NVME or SCSI, contact technical support: the module has to be extended for this mode.

      Allowed values: ISCSI, FC, ROCE, FC-NVME, NFS, DPC, SCSI

    • spec.storageType
      string

      Required value

      The type of the Huawei storage system.

      Allowed values: OceanStorSAN, OceanStorNAS, OceanStorDtree, FusionStorageSAN, FusionStorageNAS

    • spec.urls
      array of strings

      Required value

      Management interface URLs of the storage system (e.g., https://192.168.1.1:8088).
  • status
    object
    Displays current information about the objects managed by the HuaweiStorageConnection custom resource.
    • status.conditions
      array of objects
      The latest observations of the resource state. Condition type: Ready.
      • status.conditions.lastTransitionTime
        string
        Timestamp of the last status transition for this condition. It is not bumped when only the reason or the message changes.
      • status.conditions.message
        string
        Human-readable explanation of the current status.

        Maximum length: 32768

      • status.conditions.observedGeneration
        integer
        The value of metadata.generation this condition was set against.

        Allowed values: 0 <= X

      • status.conditions.reason
        string
        Machine-readable reason for the current status, suitable for log filtering and alerting.

        Length: 1..1024

        Pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$

      • status.conditions.status
        string
        Current status of the condition.

        Allowed values: True, False, Unknown

      • status.conditions.type
        string
        Condition type. Ready is True once the backend secret, the ConfigMap and the StorageBackendClaim are in place, and False either when a reconcile pass failed (reason: ReconcileFailed) or while the resource is still being torn down after a deletion request (reason: Deleting). The condition is absent until the controller has processed the resource for the first time.

        Maximum length: 316

        Pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$

    • status.observedGeneration
      integer
      The value of metadata.generation the controller has last acted on. When it trails metadata.generation, the controller has not yet processed the latest spec, and the conditions below still describe the previous one.
    • status.phase
      string

      The current state of objects managed by the HuaweiStorageConnection custom resource. Might be:

      • Failed (if the controller received incorrect object configuration or some errors occurred during the operation)
      • Created (if everything went fine)

      Allowed values: Failed, Created

    • status.reason
      string
      Additional information about the objects managed by the HuaweiStorageConnection custom resource.