Volcengine Kubernetes Engine
Parameter | Description |
Parameter | Description |
Name | Specify a name for the StorageClass. The name must be unique within the cluster. |
StorageClass type | Select a storage type. In this scenario, select FileNAS. |
Availability zone | Availability Zones (AZs) are physically isolated infrastructure units within a single region, featuring independent power and networking systems. AZs communicate with each other over internal networks. |
Billing type | Select a resource billing type as needed. Currently, pay-as-you-go is supported. |
File system type | Choose a file system type.
tip Cache-type FileNAS storage supported by VKE is a beta feature that does not require additional permissions for use. On the FileNAS side, cache-type storage is a beta feature that requires a trial application. To use this type of file system, you need to request permission to use FileNAS. |
Project | Assign the StorageClass to a project so that you can perform operations such as maintenance and authorization at the project level. By default, the default project is selected. For details, see Project management. |
Mount point | Select an existing mount point in the FileNAS file system. |
Subdirectory | Enter a valid subdirectory that complies with the on-screen rules. By default, the root directory (/) is used. tip Ensure that the subdirectory already exists in FileNAS. |
NFS version | Select an NFS version for the PV.
|
Reclaim policy | The reclaim policy. Available options include:
tip We recommend that you select Retain to prevent accidental data deletions. |
PersistentVolume binding mode | The binding mode. The following information is included:
|
Parameter | Description |
Parameter | Description |
Namespace | Select the namespace to which the PVC belongs. We recommend selecting a custom namespace or the system-created default namespace. For details about namespaces, see Namespace overview. |
Name | Specify a name for the PVC. The name must be unique within the cluster. |
StorageClass type | Select a storage type. In this scenario, select FileNAS. |
Access mode | Select a PVC access mode. Currently, you can select ReadWriteMany, which enables read and write access by multiple nodes. |
Billing type | Select a resource billing type as needed. Currently, pay-as-you-go is supported. |
File system type | Select the same file system type as the one configured in the StorageClass.
tip Cache-type FileNAS storage supported by VKE is a beta feature that does not require additional permissions for use. On the FileNAS side, cache-type storage is a beta feature that requires a trial application. To use this type of file system, you need to request permission to use FileNAS. |
How to create | The method of creating a PVC. Available methods include Create based on StorageClass and Use an existing PersistentVolume. For this example, select Create based on StorageClass. |
StorageClass | Select a StorageClass. The system automatically binds a PV that has the same StorageClass and a capacity greater than or equal to the capacity size defined in the PVC. |
Capacity | Configure the capacity of the PV. tip This is a required field in Kubernetes. However, the capacity value set here does not limit the actual usage by the application. The actual capacity depends only on the filesystem capacity. |
Parameter | Description |
Parameter | Description |
provisioner | The driver for mounting a PV. In this example, you need to set the value to nas.csi.volcengine.com, which indicates the csi-nas add-on. |
archiveOnDelete | Whether to synchronously delete PVs when the PVC is deleted. Valid values include:
|
fsId | The ID of the created NFS filesystem. tip You can view the ID of the created filesystem in the console. For details, see Viewing filesystem information. |
fsType | NFS filesystem type. Available values include Extreme, Cache, and Capacity. tip |
volumeAs | Specify the subdirectory type for NFS storage, including: subpath. |
server | The domain of the FileNAS filesystem mount point. tip When volumeAs is set to subpath (creating a subdirectory in an existing filesystem), this field is required. |
subpath | The subdirectory after FileNAS mounting. The system will create directories within this subdirectory as the backend storage for dynamically provisioned volumes. |
volumeHandle | The unique identifier of the PV. Keep it consistent with the name of the PV. |
mountOptions | Configure PV mount parameters, which support dynamic modification and only take effect on newly mounted PVs instead of those already mounted. You can use the vers parameter to specify the NFS version number for mounting the PV. Valid values:
|
reclaimPolicy | The PV reclaim policy. Valid values:
warning
|
volumeBindingMode | The binding mode of the PV. Values:
|
Parameter | Description |
Parameter | Description |
accessModes | The PVC access mode. You can only select ReadWriteMany, which enables read and write access by multiple nodes. |
storage | The declared storage capacity. Unit: Gi. |
storageClassName | The name of the created SC. |
volumeMode | The PV types. Valid values:
|