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

[Docs]Updated examples for customizing resources #1871

Merged

Conversation

LunarMarathon
Copy link
Contributor

TL;DR

Closes: 4035
Updated the examples to use with_overrides(requests=Resources(...), limits=Resources(...)) instead of what was defined in the older version of flytekit.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

flyteorg/flyte#4035

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

@welcome
Copy link

welcome bot commented Oct 4, 2023

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

@kumare3
Copy link
Contributor

kumare3 commented Oct 5, 2023

LGTM, but you have to sign the DCO

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (16cee4d) 55.05% compared to head (f0570ed) 55.02%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1871      +/-   ##
==========================================
- Coverage   55.05%   55.02%   -0.03%     
==========================================
  Files         296      296              
  Lines       22241    22218      -23     
  Branches     3356     2172    -1184     
==========================================
- Hits        12244    12225      -19     
- Misses       9834     9844      +10     
+ Partials      163      149      -14     

see 25 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LunarMarathon LunarMarathon force-pushed the close-4035-customizing-resources branch from 941953e to 499b124 Compare October 5, 2023 07:37
@LunarMarathon
Copy link
Contributor Author

Done👍 @kumare3

@samhita-alla
Copy link
Contributor

@LunarMarathon, can you fix the DCO?

LunarMarathon added 2 commits October 6, 2023 13:10
Signed-off-by: LunarMarathon <[email protected]>
@LunarMarathon LunarMarathon force-pushed the close-4035-customizing-resources branch from f0ab9e0 to f0570ed Compare October 6, 2023 07:40
@LunarMarathon
Copy link
Contributor Author

@samhita-alla I'm sorry, I completely forgot about signing off the second commit. I've fixed it.

@samhita-alla samhita-alla merged commit 1f0d120 into flyteorg:master Oct 9, 2023
67 of 68 checks passed
@welcome
Copy link

welcome bot commented Oct 9, 2023

Congrats on merging your first pull request! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Docs] Examples for customizing resources are not correct
4 participants