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
-
objectspecDefines the StorageClass configuration.
-
stringspec.fsType
Required value
The filesystem type of the storage class.Allowed values:
xfs,ext4 -
objectspec.nfs
NFS settings of the class.
Required when the HuaweiStorageConnection has
protocol: NFS, and not allowed otherwise.-
array of stringsspec.nfs.authClients
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.
-
stringspec.nfs.authClients.Element of the array
Length:
1..253Pattern:
^[^;\s]+$
-
-
booleanspec.nfs.rootSquash
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 inauthClientsis root on the share (no_root_squash), which is what the Huawei CSI driver sets.
-
-
stringspec.pool
Required value
Name of the pool.Minimum length:
1 -
stringspec.reclaimPolicy
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 -
stringspec.storageConnectionName
Required value
Name of the HuaweiStorageConnection object.Minimum length:
1
-
-
objectstatusDisplays current information about the StorageClass.
-
array of objectsstatus.conditionsThe latest observations of the resource state. Condition type:
Ready.-
stringstatus.conditions.lastTransitionTimeTimestamp of the last status transition for this condition. It is not bumped when only the reason or the message changes.
-
stringstatus.conditions.messageHuman-readable explanation of the current status.
Maximum length:
32768 -
integerstatus.conditions.observedGenerationThe value of
metadata.generationthis condition was set against.Allowed values:
0 <= X -
stringstatus.conditions.reasonMachine-readable reason for the current status, suitable for log filtering and alerting.
Length:
1..1024Pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ -
stringstatus.conditions.statusCurrent status of the condition.
Allowed values:
True,False,Unknown -
stringstatus.conditions.typeCondition type.
ReadyisTrueonce the StorageClass is in place, andFalseeither 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:
316Pattern:
^([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])$
-
-
integerstatus.observedGenerationThe value of
metadata.generationthe controller has last acted on. When it trailsmetadata.generation, the controller has not yet processed the latest spec, and the conditions below still describe the previous one. -
stringstatus.phase
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 -
stringstatus.reasonAdditional information about the current state of the StorageClass.
-
HuaweiStorageConnection
Scope: Cluster
Version: v1alpha1
-
objectspec
-
stringspec.dtreeParentName
Name of the file system on the storage system in which the dtrees of the volumes are created.
Required for
storageType: OceanStorDtreeand not allowed for the other storage types.Length:
1..255 -
stringspec.login
Required value
Username for authenticating with the storage system. -
integerspec.maxClientThreads
Required value
Maximum number of concurrent client connections to the storage system. -
stringspec.password
Required value
Password for authenticating with the storage system.
If the caller is not allowed to read the
huaweistorageconnections/sensitivesubresource, the API returns<omitted>instead of the value. -
array of stringsspec.pools
Required value
List of storage pool names on the storage system. -
array of stringsspec.portals
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. -
stringspec.protocol
Required value
The data transport protocol used to connect to the storage system.
The protocol has to be supported by the storage type:
OceanStorSANsupportsISCSIandFC;OceanStorNASandOceanStorDtreesupportNFS;FusionStorageSANsupportsISCSI;FusionStorageNASsupportsNFSandDPC.ROCE,FC-NVMEandSCSIare 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-NVMEorSCSI, contact technical support: the module has to be extended for this mode.Allowed values:
ISCSI,FC,ROCE,FC-NVME,NFS,DPC,SCSI -
stringspec.storageType
Required value
The type of the Huawei storage system.Allowed values:
OceanStorSAN,OceanStorNAS,OceanStorDtree,FusionStorageSAN,FusionStorageNAS -
array of stringsspec.urls
Required value
Management interface URLs of the storage system (e.g.,https://192.168.1.1:8088).
-
-
objectstatusDisplays current information about the objects managed by the HuaweiStorageConnection custom resource.
-
array of objectsstatus.conditionsThe latest observations of the resource state. Condition type:
Ready.-
stringstatus.conditions.lastTransitionTimeTimestamp of the last status transition for this condition. It is not bumped when only the reason or the message changes.
-
stringstatus.conditions.messageHuman-readable explanation of the current status.
Maximum length:
32768 -
integerstatus.conditions.observedGenerationThe value of
metadata.generationthis condition was set against.Allowed values:
0 <= X -
stringstatus.conditions.reasonMachine-readable reason for the current status, suitable for log filtering and alerting.
Length:
1..1024Pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ -
stringstatus.conditions.statusCurrent status of the condition.
Allowed values:
True,False,Unknown -
stringstatus.conditions.typeCondition type.
ReadyisTrueonce the backend secret, the ConfigMap and the StorageBackendClaim are in place, andFalseeither 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:
316Pattern:
^([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])$
-
-
integerstatus.observedGenerationThe value of
metadata.generationthe controller has last acted on. When it trailsmetadata.generation, the controller has not yet processed the latest spec, and the conditions below still describe the previous one. -
stringstatus.phase
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 -
stringstatus.reasonAdditional information about the objects managed by the HuaweiStorageConnection custom resource.
-