-
Notifications
You must be signed in to change notification settings - Fork 558
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
Add x-AZ mount support for efs-csi-driver #425
Conversation
Hi @kbasv. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kbasv, wongma7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
BTW I want to do a stress test of some kind before we make another release #428. |
@@ -26,9 +26,17 @@ import ( | |||
"k8s.io/klog" | |||
) | |||
|
|||
// https://github.com/aws/efs-utils/blob/v1.28.2/dist/efs-utils.conf | |||
// https://github.com/aws/efs-utils/blob/v1.30.2/dist/efs-utils.conf |
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 is the v1.30.2 config file, any reason we don't keep the consistency with the version in DockerFile?
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.
Planning to bump efs-utils to 1.30.2 when it is available in linux repo. There isn't too much difference between conf files for 1.30.1 & 1.30.2 so decided to copy over the content of 1.30.2
@@ -248,7 +264,7 @@ func (w *execWatchdog) runLoop(stopCh <-chan struct{}) { | |||
for { | |||
select { | |||
case <-stopCh: | |||
klog.Info("stopping...") | |||
//klog.Info("stopping...") |
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.
Why comment this out?
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.
Ah this sneaked in when I was running tests locally, will revert in next commit.
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.
Just bump the version? The csi-driver will take care of the option parsing, right? Also why the config file is separate in the efs_watch_dog.go file?
@Cappuccinuo Regarding separate config file, I believe it was a side effect of trying the preserve the |
@kbasv How would one utilize this in the Helm chart? New ticket: #496 |
Is this a bug fix or adding new feature?
New feature.
What is this PR about? / Why do we need it?
Bump efs-utils to 1.30.1. This adds support for x-AZ mounts. Users can pass desired AZ under
mountOptions
either in PV or Storage class. For example, to mount file system with a mount target in the AZ us-east-1a, addaz=us-east-1a
under mount options.What testing is done?
Tested on my EKS cluster