First select Container Service, then click [Cluster], click [Workload], select [deployment], and then select [New]
Then click [Add Data Volume]
Select data source
NFS is a network disk (suitable for official use)
Temporary directory is not used
The host path is the path of the container (suitable for testing without historical data, the simplest mount)
PVC has not been used
Use ConfigMap (suitable for nginx for external network mapping, and can be modified online on Tencent Cloud by modifying configMap)
demo NFS
Data volume name, fill in whatever you want
Fill in the location of your network disk in the NFS path (I haven’t figured out the principle yet, it was created by a colleague, and this intranet address corresponds to the disk location of a certain node)
The mount point is a selection box, select the one you just configured, the target path is the path of your container, and subPath is the subpath of the mount directory