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

NFS volume support for CSI-PowerFlex driver #755

Closed
wants to merge 12 commits into from

Conversation

khareRajshree
Copy link
Contributor

Description

This PR includes changes to add documentation support for NFS volume support in CSI-PowerFlex driver.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#763

Checklist:

  • Have you run a grammar and spell checks against your submission?
  • Have you tested the changes locally?
  • Have you tested whether the hyperlinks are working properly?
  • Did you add the examples wherever applicable?
  • Have you added high-resolution images?

To enable the support of NFS volumes operations from CSI driver, there are a few new keys introduced which needs to be set before performing the operations for NFS volumes.
* `nasName`: defines the NAS server name that should be used for NFS volumes.
* `nfsAcls`: defines permissions - POSIX mode bits or NFSv4 ACLs, to be set on NFS target mount directory. NFSv4 ACLs are supported for NFSv4 shares on NFSv4 enabled NAS servers only. POSIX ACLs are not supported and only POSIX mode bits are supported for NFSv3 shares.
* `externalAccess`: allows to specify additional entries for host to access NFS volumes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allows you to specify ...

...
```

Let us assume the user creates a PVC with 3 Gi of storage and quotas have already been enabled in PowerFlex system for the specified volume.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, if the user creates ....

When `enableQuota` is set to `true`

* The driver sets the hard limit of the PVC to 3Gi.
* The user adds data of 2Gi to the above said PVC (by logging into POD). It works as expected.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... to the PVC ...
{remove above said}

When `enableQuota` is set to `false`

* Driver doesn't set any hard limit against the PVC created.
* The user adds data of 2Gi to the above said PVC, which is having the size 3Gi (by logging into POD). It works as expected.
Copy link

@sharont58 sharont58 Aug 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user adds 2Gi data to the PVC, which has a limit of 3Gi. It works as expected.

{I don't understand the (by logging into POD) statement. Do you add data by logging in to PVC? IN which case that should be at the start of the sentence:

The user logs into the POD and adds 2Gi data to the PVC, which has a limit of 3Gi.

```yaml
...
...
# externalAccess: allows to specify additional entries for host to access NFS volumes. Both single IP address and subnet are valid entries.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... allows you to specify ...

Copy link

@sharont58 sharont58 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

@khareRajshree
Copy link
Contributor Author

See comments.

done

@github-actions
Copy link

github-actions bot commented Aug 17, 2023

Test Results

  1 files    3 suites   2s ⏱️
72 tests 72 ✔️ 0 💤 0
73 runs  73 ✔️ 0 💤 0

Results for commit bb962cc.

♻️ This comment has been updated with latest results.

# Allowed values:
# 1) Unix mode: valid octal mode number
# Examples: "0777", "777", "0755"
# 2) NFSv4 acls: valid NFSv4 acls, seperated by comma
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*separated

Copy link
Collaborator

@mgandharva mgandharva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some grammatical errors, please check with Grammarly once.

VamsiSiddu-7
VamsiSiddu-7 previously approved these changes Aug 18, 2023
@khareRajshree
Copy link
Contributor Author

some grammatical errors, please check with Grammarly once.

Done.

VamsiSiddu-7
VamsiSiddu-7 previously approved these changes Aug 18, 2023
@khareRajshree
Copy link
Contributor Author

Hi @sharont58 can you please review the changes after recent commits. Thanks.

ashleyvjoy
ashleyvjoy previously approved these changes Aug 21, 2023
@khareRajshree khareRajshree dismissed stale reviews from ashleyvjoy and VamsiSiddu-7 via 5ad7d1c August 21, 2023 10:12
sharont58
sharont58 previously approved these changes Aug 21, 2023
@khareRajshree khareRajshree force-pushed the powerflex-nfs-support branch from bb962cc to f5cb866 Compare August 21, 2023 14:53
@khareRajshree khareRajshree force-pushed the powerflex-nfs-support branch from f5cb866 to 89fa167 Compare August 21, 2023 14:55
@khareRajshree khareRajshree force-pushed the powerflex-nfs-support branch from 89fa167 to 6c6f70a Compare August 21, 2023 14:57
@khareRajshree khareRajshree force-pushed the powerflex-nfs-support branch from 6c6f70a to 10c2224 Compare August 21, 2023 14:59
@khareRajshree khareRajshree deleted the powerflex-nfs-support branch August 21, 2023 15:12
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

Successfully merging this pull request may close these issues.

9 participants