-
Notifications
You must be signed in to change notification settings - Fork 27
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
Added new storageclass for NFS support #181
Conversation
Hi @KshitijaKakde, please update the target branch as nfs-support instead of main. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the same set of values for config.yaml as well as values.yaml as well for PowerFlex driver.
For reference view the powerstore files:
# WaitForFirstConsumer: delay the binding and provisioning of PV until a pod using the PVC is created. | ||
# Optional: false | ||
# Default value: WaitForFirstConsumer (required for topology section below) | ||
# nasName: NAS server's name. If not specified, value from secret.yaml will be used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a new line before starting nasName section.
helm/csi-vxflexos/values.yaml
Outdated
@@ -38,6 +38,11 @@ kubeletConfigDir: /var/lib/kubelet | |||
# Default value: none | |||
defaultFsType: ext4 | |||
|
|||
# externalAccess: allows to specify additional entries for hostAccess of NFS volumes. Both single IP address and subnet are valid entries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be rephrased as: allows to specify additional entries for host to access NFS volumes.
samples/config.yaml
Outdated
@@ -24,6 +24,27 @@ | |||
# defines the MDM(s) that SDC should register with on start. | |||
# Allowed values: a list of IP addresses or hostnames separated by comma. | |||
# Default value: none | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be a good idea to include a line that nfs is only supported on arrays >= 4.0 here.
@KshitijaKakde Before merging the pr. Update this branch with the latest changes from nfs-support. |
Updated the PR with correct GitHub issue: dell/csm#763 |
* Add CheckNFS functionality to check the NFS support for given powerflex array. (#182) * Add checkNfs method. * add version check in checkNFS. * changed the nfs topology to true. * add debug. * add debug1. * add debug3. * removed the version logic. * add debug 4. * move logic to service.go * add debug 5 * add debug 6 * add debug 7. * add debug 8. * removed the debug logs. * unit test changes for nodeGetInfo. * updated go mod and go sum. * Added new storageclass for NFS support (#181) Added new storageclass for NFS support * helm chart update for nfs support (#183) * helm chart update for nfs support * Check nfs (#185) * Add checkNfs method. * Add helm tests for nfs feature (#188) * added helm tests for nfs. * fixed a small mistake in the 5vols-nfs test. * removed the ephemeral volume helm tests. * making one signed commit (#187) * Create NFS volume (#189) * create NFS volume implemented * Nfs controller publish Changes (#190) * indentation fixed for controller.yaml * NFS storage class yaml updated * create NFS volume implemented * go.mod and go.sum updated * update controller publish volume for nfs. * hardcoded volume name for testing. * add debug. * files updated * add debug. * removed debug statements * add debug. * fixed error. * fix the panic. * add debug. * fixed the nil panic. * fixed the nfs export. * fix nfs export error. * files updated * updated files. * files updated * removed debug logs. * remove debug logs. * add debug. * add debug. * add debug3. * fixed a mistake. * add debug. * fixed th idempotency. * remove debug logs. * removed the hardcoded name. * address review comments. --------- Co-authored-by: Khare <rajshree.khare@dell.com> * Update NodePublish Volume for nfs. (#193) * update nodeunpublish volume for nfs changes. (#211) * added delete filesystem support in deletevolume (#212) * controller unpublish changes added (#214) * update build_ubi_micro.sh to include nfs-utils. * fix lint and unit-test failures. * fixed the gosec failures. * fix replication unit test failure. * add unit tests for nfs. * fixed the unit test failure. * add induced errors to get handler. * add unit tests for delete control node publish unpublish fns. * fixed the unit test failures. * add more unit tests. * NFS: expand volume operation added (#216) * linting errors resolved * unit tests added for expand NFS volume * unit tests added for expand NFS volume * unit tests added for expand NFS volume * add more unit-test. * add more unit tests. * add more unit tests for coverage. * addressed review comments. --------- Co-authored-by: KshitijaKakde <111420075+KshitijaKakde@users.noreply.github.com> Co-authored-by: Rajshree Khare <69839943+khareRajshree@users.noreply.github.com> Co-authored-by: ashleyvjoy <110008193+ashleyvjoy@users.noreply.github.com> Co-authored-by: Khare <rajshree.khare@dell.com>
Description
Added new storageclass for NFS support
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration