Volcengine Kubernetes Engine
Parameter | Description |
Parameter | Description |
How to create | Select a method for creating the PV. Currently, you can select Static creation, in which the administrator creates one. |
Name | Specify a valid name for the PV. The name must be unique within the cluster. |
StorageClass type | Select a storage type. In this scenario, select FileNAS. |
Access type | Select an access type for the PV. In this scenario, select NFS. |
Access mode | Select a PV access mode. You can select ReadWriteMany, which enables read and write access by multiple nodes. |
File system type | Select 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 PV 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 more details, see Project management. |
Mount point | Select a mount point that exists under an existing FileNAS file system and is in the same VPC as the cluster. |
Subdirectory | Enter a valid subdirectory that complies with the on-screen rules. The default directory is the root directory, which is represented by /. tip Ensure that the subdirectory already exists in the NFS file system. |
NFS version | Select an NFS version for the PV.
|
Advanced settings | |
Mount parameters | Configure PV mount parameters, which support dynamic modification and only take effect on newly mounted PVs instead of those already mounted. For details, see PV mount parameters. |
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. 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 for the PV.
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 the PVC. Available methods include Create based on StorageClass and Use an existing PersistentVolume. For this example, select Use an existing PersistentVolume. |
PersistentVolume | Select the created FileNAS PV. |
Parameter | Description |
Parameter | Description |
accessModes | The PV access mode. Only ReadWriteMany is supported, which allows the PV to be read and written by multiple pods. |
storage | Declared PV capacity. Unit: Gi. This field is required by Kubernetes. The value has no actual meaning and is only for validation. The actual capacity is subject to the created storage capacity. |
driver | 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. |
fsType | # NFS filesystem type. Available values include Extreme, Cache, and Capacity. tip |
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. |
server | The domain of the FileNAS filesystem mount point. |
path | The subdirectory of the filesystem to be mounted. It defaults to the root directory ("/"). Ensure that the specified directory exists. Otherwise, the mount will fail. |
volumeAs | Specify the subdirectory type of NFS storage. Values: subpath. |
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:
|
persistentVolumeReclaimPolicy | The PV reclaim policy. The following information is included:
|
volumeMode | The volume type. The following information is included:
|
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. It must be consistent with the capacity of the created PV. |
volumeMode | The PV type. It must be consistent with the type configured for the PV. The following information is included:
|
volumeName | The name of the PV, which must be consistent with the name configured for the PV. |