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
fix: allow efs volumes to have multiple mount points in a single service #5631
fix: allow efs volumes to have multiple mount points in a single service #5631
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## mainline #5631 +/- ##
============================================
+ Coverage 70.00% 70.02% +0.01%
============================================
Files 303 303
Lines 46592 46592
Branches 299 299
============================================
+ Hits 32617 32625 +8
+ Misses 12389 12382 -7
+ Partials 1586 1585 -1 ☔ View full report in Codecov by Sentry. |
🍕 Here are the new binary sizes!
|
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.
LGTM overall! Have you tested applying this new template to an existing deployed workload and see if the update goes through?
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.
Can we update the integ test to cover the multiple efs mount points scenario?
@iamhopaul123 @CaptainCarpensir Hey team, how can I manually apply this update to my existing workload? (I still get the error message I've tried to redeploy the pipeline, but maybe that's not the right place. Thanks! |
Hello @wub. This should've been fixed in our latest commit. Can you check in your |
Hey @iamhopaul123, this is the head of our buildspec: version: 0.2
phases:
install:
commands:
- echo "cd into $CODEBUILD_SRC_DIR"
- cd $CODEBUILD_SRC_DIR
# Download the copilot linux binary.
- wget -q https://ecs-cli-v2-release.s3.amazonaws.com/copilot-linux-v1.33.1 -O copilot-linux |
Hey @wub Still Copilot does not support mounting multiple volumes created and managed by Copilot in a single service. This is the enhancement that needs to be done on Copilot end. But you can configure multiple externally-managed EFS volumes in Copilot. Here is a sample manifest configuration for an external EFS volume.
|
Here is a doc that helps on how you can configure external managed EFS volumes in Copilot. |
This is the easiest possible fix for the issue, we got an internal ticket requesting a fix for this so I wanted to get a basic fix out for review first and iterate if this causes issues.
Related #2921
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.