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

Allow flytepropeller manager to have different resource request from flyte propeller #5974

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cpaulik
Copy link
Contributor

@cpaulik cpaulik commented Nov 8, 2024

This is a slight resource optimization since the flytepropeller-manager pod does no work and needs next to no resources. But in the default configuration it has the same size as each sharded flyte propeller deployment.

Why are the changes needed?

To not waste CPU / Mem on flytepropeller manager which does very little work

What changes were proposed in this pull request?

Allow usage of flytepropeller.manager_resources to specify resource requests for flytepropeller-manager separately from the shareded flyte propeller deployments.

How was this patch tested?

I ran built the helm chart with this setting and the resulting yml files looked ok.

Check all the applicable boxes

  • I updated the documentation accordingly. This was auto updated by make helm
  • All new and existing tests passed.
  • All commits are signed-off.

…flyte propeller

This can be good since the flytepropeller-manager pod does no work and needs
next to no resources

Signed-off-by: Christoph Paulik <[email protected]>
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.09%. Comparing base (de12c82) to head (e1e8b88).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5974      +/-   ##
==========================================
+ Coverage   33.35%   37.09%   +3.74%     
==========================================
  Files        1021     1318     +297     
  Lines      108502   132399   +23897     
==========================================
+ Hits        36193    49118   +12925     
- Misses      69098    79009    +9911     
- Partials     3211     4272    +1061     
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.10% <ø> (?)
unittests-flytecopilot 30.99% <ø> (ø)
unittests-flytectl 62.29% <ø> (-0.05%) ⬇️
unittests-flyteidl 7.23% <ø> (ø)
unittests-flyteplugins 53.82% <ø> (ø)
unittests-flytepropeller 42.59% <ø> (ø)
unittests-flytestdlib 57.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

eapolinario
eapolinario previously approved these changes Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Approved yet unmerged PRs
Development

Successfully merging this pull request may close these issues.

2 participants