Remove storage as a task resource option#4658
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4658 +/- ##
==========================================
+ Coverage 58.54% 58.57% +0.02%
==========================================
Files 625 624 -1
Lines 53669 53595 -74
==========================================
- Hits 31423 31393 -30
+ Misses 19731 19688 -43
+ Partials 2515 2514 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Future Outlier <eric901201@gmai.com>
|
@katrogan Please take a look, thanks a lot! |
|
this is fantastic! cc @eapolinario for flytekit owners review |
|
Hi, @katrogan can we merge it? |
There was a problem hiding this comment.
LGTM can we remove storage from here
flyte/flyteadmin/pkg/manager/impl/util/resources.go
Lines 69 to 71 in a23b266
flyte/flyteadmin/pkg/workflowengine/impl/prepare_execution.go
Lines 88 to 90 in a23b266
cc @eapolinario
I think the copilot will not be affected by it right? |
|
hey @Future-Outlier what do you mean by "I think the copilot will not be affected by it right?" Sorry not entirely following! |
Signed-off-by: Future-Outlier <eric901201@gmail.com>
I was initially concerned that removing the |
Just remove all of them, thanks a lot! |
… remove-storage-in-task-resource-option
katrogan
left a comment
There was a problem hiding this comment.
thank you so much for verifying and refactoring all the tests!
Tracking issue
Fixes #3955
Why are the changes needed?
Make the storage unused in the task resource option, so that users will not be confused about why they can define the storage but it didn't work.
What changes were proposed in this pull request?
search strings here
Search variable like this.
flytek8s/copilot.goas the same, I am not sure about how it works, so I left it the same.How was this patch tested?
kubectl describe nodeIdto check if theResourcesas expectedSuccess Scenario
The output is below.
Failure Scenario
Related PRs
flyteorg/flytekit#2078
Docs link