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

Use external provisioner 2.0.x which provides a default-fstype flag #60

Closed
saikat-royc opened this issue Sep 28, 2020 · 10 comments
Closed
Assignees
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@saikat-royc
Copy link
Contributor

Use external provisioner change which provides a default-fstype flag. For filestore driver this should be set to 'nfs'.

Also have stricter check in ValidateVolumeCapabilities for fstype == 'nfs'.
https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/blob/master/pkg/csi_driver/gcfs_driver.go#L154

Current implementation ignores the fstype passed by the CSI calls, and uses hard coded nfs type in mount operation.
https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/blob/master/pkg/csi_driver/node.go#L216

@saikat-royc
Copy link
Contributor Author

/assign

@msau42
Copy link
Contributor

msau42 commented Sep 28, 2020

Unsure if we should set a fstype. Then it may be hard to switch between nfs and smb in protocols in the future

@saikat-royc
Copy link
Contributor Author

Smb type shares can be provided in the SC, which would override the default fstype set in provisioner. Thoughts?

@msau42
Copy link
Contributor

msau42 commented Sep 29, 2020

I think a single share can support both smb or nfs and can dynamically decide which it wants to use depending on which OS it's being mounted on. I'm not sure I see a need for restricting the type on the PV yet.

In the CSI spec, we intended "" fstype for nfs-type systems.

@saikat-royc
Copy link
Contributor Author

Ok so when we upgrade provisioner th 2.0.x we should be getting "" fstype in the volume capability.

@msau42
Copy link
Contributor

msau42 commented Sep 29, 2020 via email

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 28, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 27, 2021
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants