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 the storage type. In this scenario, select EFS. |
Access type | Select an access type for the PV. Valid values: FSX and NFS. 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. |
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 a created NFS 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 EFS. |
NFS version | Select an NFS version for the PV. NFSv3 and NFSv4.1 are supported. |
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 the storage type. In this scenario, select Elastic NAS. |
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. |
How to create | Configure the method for creating a PVC. In this scenario, select Use an existing PersistentVolume. |
PersistentVolume | Select the created PV for binding. |
Parameter | Description |
Parameter | Description |
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. |
accessModes | The PV access mode. Only ReadWriteMany is supported, which allows the PV to be read and written by multiple pods. |
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. |
type | The PV type. In this example, set it to efs. |
server | The domain of the EFS 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. |
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 PV types. Valid 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. 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. |