- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
User guide
Storage
DMC Volumes
Accessing static DMC PVs by using the FSX client
DMC Volumes
Accessing static DMC PVs by using the FSX client
Accessing static DMC PVs by using the FSX client
Data Management Center (DMC) is a storage management solution offered by Volcano Engine that enables unified storage management, data orchestration, and data mobility. It encapsulates multiple storage services and provides a unified access point to facilitate centralized storage management. This topic describes how to configure and mount a static DMC PV in a VKE cluster using the FSX client.
- The csi-fsx add-on has been installed and upgraded to v0.7.0 or later.
- The fsx-service add-on has been installed and upgraded to v0.12.0 or later.
- You have created the required access key (AK/SK) for mounting the DMC dataset storage. For details on obtaining the AK/SK, see Obtaining API access keys. To use a temporary token for authentication, you need to implement the logic for refreshing tokens.
warning
All backend PVs under a single DMC dataset use the same AK/SK for authentication. Using different AKs/SKs for authentication is not supported.
- (Optional) If you perform configuration by using YAML, make sure that the kubectl tool has been installed in the local environment and is connected to the target cluster. For details, see Connecting to a cluster.
- DMC is available only in certain regions. Refer to the console for DMC availability in a specific region.
- If a Pod mounting a DMC PV experiences conflicts with other PV types, the system prioritizes DMC PV mounting and fails the mounting of other PV types.
- Online updates of a unified access point are not supported. If the access point ID changes, we recommend re-creating a PV.
Step 1: Create a DMC dataset
- In the left navigation pane, click Data set management. On the resulting page, click Create dataset. Create a DMC dataset and bind the desired data source. This example binds both EFS volumes and TOS volumes to the DMC dataset. For details, see Creating datasets.
Step 2: Create a unified access point
- Click the name of the target dataset.
- In the left navigation pane, click Unified integrated point. On the page that appears, click Create. For more configuration details, see Managing access points.
- After the configuration is complete, obtain the access point ID and view details of the mounted volumes on the access point details page.
- Create a YAML file for the Secret. The following fsx-secret.yaml file serves as an example:
tip
You can use the echo -n "${ak}" | base64 command to perform Base64 encoding on items such as the AK and SK. Note that you need to replace ${ak} with your actual value. For example, if ${ak} is demo, the encoding command is echo -n "demo" | base64, which produces the encoded result ZGVtbw==.
- Run the following command to create the Secret.
Creating through the console
Creating through kubectl
- In the left navigation bar, click Cluster. Click the name of the target cluster to go to the cluster management page.
- In the left navigation bar on the cluster management page, click Storage > PersistentVolume.
- Click Create PersistentVolume to create a DMC PV that is accessible over FSX.
- Create a YAML file for the PV. The following pv-dmc-demo.yaml file serves as an example:
- The key parameters are described in the following table.
- Run the following command to create the PV.
Creating through the console
Creating through kubectl
- Click the name of the target cluster. In the left navigation bar of the cluster management page, click Storage > PersistentVolumeClaim.
- Click Create PersistentVolumeClaim to configure the PVC.
- Create a YAML file for the PVC. The following pvc-dmc-demo.yaml file serves as an example:
- The key parameters are described in the following table.
- Run the following command to create the PVC.
- Run the following command to view the result of the static association between the PVC and PV.
- If the response is similar to the following one, the binding is successful.
Step 6: Create an application and mount the PV
Creating through the console
Creating through kubectl
After the static DMC PV is created, you can mount it to a workload for use: Deployment, StatefulSet, Job, CronJob, or DaemonSet.
You can add a PV to a workload when creating it or updating it. For details, see Workloads. warning
Since the data source path is already bound during DMC dataset configuration, do not configure the subPath parameter when mounting DMC in the workload.
- Create a YAML file for the Deployment. The following fsx-deployment.yaml file serves as an example:
- Run the following command to create the Deployment.
After creating the workload and mounting the PV, you can validate the DMC storage mounting, shared storage, and persistent storage by following the steps below.
- Run the following command to check whether the PV is mounted to the specified path in the pod.
- The expected output is similar to the following one. In this example, since DMC mounts both an EFS PV and a TOS PV, you can see that different PVs correspond to different paths in the Pod.
- Run the following command to view the data in the PV of the Pod. This example shows how to view data in the TOS PV.
- The expected response is as follows.
- Check the mount path of the PV in the newly created pod.
- The expected result is as follows. You can see that the file written to the PV still exists and is not deleted along with the pod. This indicates that persistent storage of data is achieved.
Last updated: 2026.07.24 10:53:35