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

Support the mountOptions field of StorageClass when nfs-mounting for pods/containers #159

Closed
scr-oath opened this issue Jul 30, 2018 · 2 comments

Comments

@scr-oath
Copy link

We have a need to create a PVC that mounts NFSv4 with the noac option in order to eliminate any lag between writing on one node and reading (a folder or timestamp, e.g.) on another. Kubernetes StorageClass has a mountOptions field that may be used to pass this option along so that it is used when mounting for use with pods/containers.

The nfs-client-provisioner recently added support for this if you'd like to see how they did it (PR below).

Trident apparently does not support this yet, and we need the feature to continue using our general Trident dynamic provisioner instead of carving up a custom mount point with the incubator (nfs-client-provisioner) solution.

@acsulli
Copy link

acsulli commented Jul 30, 2018

Hello @scr-oath, you can use the k8s mount options, as defined in the storage class, with Trident without issue since 18.01. You can see an example toward the bottom of this blog post.

Andrew

@scr-oath
Copy link
Author

Awesome - we must have an older version… sorry for the trouble.

netapp-ci pushed a commit that referenced this issue Oct 20, 2019
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