HuaweiStorageClass
Scope: Cluster
Version: v1alpha1
HuaweiStorageClass is a Kubernetes Custom Resource that defines a configuration for a Kubernetes Storage class.
- objectspec
Required value
- stringspec.fsType
Required value
The filesystem type of the storage class.
Allowed values:
xfs,ext4 - stringspec.pool
Required value
Name of the pool.
- stringspec.reclaimPolicy
Required value
The storage class’s reclaim policy:
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 custom resource.
- stringspec.volumeBindingMode
Required value
Volume binding mode.
Allowed values:
WaitForFirstConsumer,Immediate