How to define the name of the PV on the NFS directory after dynamically creating PV using PVC #548
-
pvc.yaml How to set up the display of the directory name on NFS after creating PVC |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
When defining the storage class, add the 'subDir' parameter, just like the example below
After modifying the storage class, redeployment is required, so that the directory name in NFS will change after creating the PVC. |
Beta Was this translation helpful? Give feedback.
it's documented here: https://github.com/kubernetes-csi/csi-driver-nfs/blob/master/docs/driver-parameters.md#tips