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

Merged

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.00%. Comparing base (7aeaa26) to head (2ff4195).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5974      +/-   ##
==========================================
- Coverage   37.00%   37.00%   -0.01%     
==========================================
  Files        1318     1318              
  Lines      132516   132516              
==========================================
- Hits        49037    49036       -1     
- Misses      79235    79236       +1     
  Partials     4244     4244              
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.21% <ø> (ø)
unittests-flytecopilot 30.99% <ø> (ø)
unittests-flytectl 62.29% <ø> (ø)
unittests-flyteidl 7.23% <ø> (ø)
unittests-flyteplugins 53.85% <ø> (ø)
unittests-flytepropeller 42.59% <ø> (ø)
unittests-flytestdlib 55.17% <ø> (-0.02%) ⬇️

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
@eapolinario eapolinario enabled auto-merge (squash) December 26, 2024 23:01
@eapolinario eapolinario merged commit c06f188 into flyteorg:master Dec 26, 2024
56 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants