-
Notifications
You must be signed in to change notification settings - Fork 674
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 SYS_PTRACE setting to Co-pilot container config. #5746
Add SYS_PTRACE setting to Co-pilot container config. #5746
Conversation
Thank you for opening this pull request! 🙌 These tips will help get your PR across the finish line:
|
Pinging @davidmirror-ops for deployment docs changes. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5746 +/- ##
==========================================
- Coverage 36.29% 31.29% -5.00%
==========================================
Files 1305 921 -384
Lines 109991 88051 -21940
==========================================
- Hits 39918 27556 -12362
+ Misses 65918 57691 -8227
+ Partials 4155 2804 -1351
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@dylanspag-lmco Thank you for contributing! I was wondering if this wouldn't be a breaking change once released? Shouldn't we default to opt-out? |
@davidmirror-ops I'm not sure of all of the downstream implications. The conversation in #5462 seemed to indicate removing it might be relatively low impact, which is why I had set the default as opt-in. Which would you prefer? |
@dylanspag-lmco I think the goal is to make it configurable as opposed to hardcoded. Disabling it by default may break functionality for current users. |
@davidmirror-ops makes sense. I just flipped the default behavior and updated the tests accordingly. |
Signed-off-by: Dylan Spagnuolo <[email protected]>
Signed-off-by: Dylan Spagnuolo <[email protected]>
Signed-off-by: Dylan Spagnuolo <[email protected]>
Signed-off-by: Dylan Spagnuolo <[email protected]>
Signed-off-by: Dylan Spagnuolo <[email protected]>
@dylanspag-lmco thanks so much for your effort so far. I've been talking to other maintainers about this change and we think the best path forward is to no accept it as it would break
Notice that for the two options above there is no way to activate them or select them, no flag.
Considering this context, we cannot make I hope the above explanation help in some way, and please let us know how we can help you with your current use case. |
@davidmirror-ops Thank you for explanation. I'll consult with my organization's flyte admins to see if there's anything we can do internally to get ContainerTasks working without disabling this. |
What is the principal difference between the proposed changes in this PR and "exposing on the Helm chart"? |
Tracking issue
Related to #5462
Why are the changes needed?
The issue #5462 describes the problem in detail.
What changes were proposed in this pull request?
I made
SYS_PTRACE
an optional setting for co-pilot containers.How was this patch tested?
I added the default setting to the "happy" and "happy stow backend" Co-pilot Container tests. I also added a test to ensure the SYS_PTRACE capability is present when the setting is enabled.
Check all the applicable boxes
Related PRs
See #5556.