Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The subPath are not fully created on NFS Share location #360

Open
vinodhini-devops opened this issue Dec 18, 2024 · 4 comments
Open

The subPath are not fully created on NFS Share location #360

vinodhini-devops opened this issue Dec 18, 2024 · 4 comments

Comments

@vinodhini-devops
Copy link

vinodhini-devops commented Dec 18, 2024

Im new to NFS SUBDIR EXTERNAL PROVISIONER.
I have been trying to implement nfs subdir provisioner to make the folders/files to be created automatically.
But, the provisioner seems to create only certian folders and not everything.

My code:
Install the First NFS Provisioner (Data Storage)

helm install nfs-provisioner-data nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \
  --set nfs.server=****** \
  --set nfs.path=/klapfs/hdd/k8/ls-swift/drbd \
  --set storageClass.name=nfs-dynamic-data \
  --set storageClass.reclaimPolicy=Retain \
  --set storageClass.allowVolumeExpansion=true \
  --set storageClass.archiveOnDelete=false \
  --set storageClass.pathPattern='${.PVC.namespace}' \
  --set nodeSelector.dedicated=storage-and-app

#Install the Second NFS Provisioner (Cache Storage)

helm install nfs-provisioner-cache nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \
  --set nfs.server=**** \
  --set nfs.path=/klapfs/hdd/k8/ls-swift/cache \
  --set storageClass.name=nfs-dynamic-cache \
  --set storageClass.reclaimPolicy=Retain \
  --set storageClass.allowVolumeExpansion=true \
  --set storageClass.archiveOnDelete=false \
  --set storageClass.pathPattern='${.PVC.namespace}' \
  --set nodeSelector.dedicated=storage-and-app

my values yaml has almost 20+ volumeMounts, When i do helm install, only few volume mounts are created, rest are not created automatically.

Error: failed to create subPath directory for volumeMount "

@vinodhini-devops
Copy link
Author

Error: failed to create subPath directory for volumeMount "

@vinodhini-devops
Copy link
Author

Any help is much appreciated!.

@QQ853695231
Copy link

me too

@vinodhini-devops
Copy link
Author

me too

What is the error you get ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants