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

[release-1.29] doc: add actimeo, noresvport mount options in the doc #1579

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions deploy/example/nfs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ provisioner: file.csi.azure.com
parameters:
protocol: nfs
skuName: Premium_LRS # available values: Premium_LRS, Premium_ZRS
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- nconnect=4
- noresvport
- actimeo=30
```

run following commands to create a storage class:
Expand Down Expand Up @@ -62,5 +67,6 @@ helm install --set persistence.storageClass="azurefile-csi-nfs" --set persistenc
```

#### Links
- [Azure File NFS mount options on Linux](https://learn.microsoft.com/en-us/azure/storage/files/storage-files-how-to-mount-nfs-shares#mount-options)
- [Troubleshoot Azure NFS file shares](https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshooting-files-nfs)
- [Mount NFS Azure file share on Linux limitations](https://learn.microsoft.com/en-us/azure/storage/files/storage-files-how-to-mount-nfs-shares#limitations)
2 changes: 2 additions & 0 deletions deploy/example/storageclass-azurefile-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- nconnect=4
- noresvport
- actimeo=30
4 changes: 4 additions & 0 deletions test/e2e/dynamic_provisioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,8 @@ var _ = ginkgo.Describe("Dynamic Provisioning", func() {
"nconnect=4",
"rsize=1048576",
"wsize=1048576",
"noresvport",
"actimeo=30",
},
VolumeMount: testsuites.VolumeMountDetails{
NameGenerate: "test-volume-",
Expand Down Expand Up @@ -1251,6 +1253,8 @@ var _ = ginkgo.Describe("Dynamic Provisioning", func() {
"nconnect=4",
"rsize=1048576",
"wsize=1048576",
"noresvport",
"actimeo=30",
},
VolumeMount: testsuites.VolumeMountDetails{
NameGenerate: "test-volume-",
Expand Down
Loading