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 1 commit 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 36.89%. Comparing base (b5f23a6) to head (b416fb4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5974      +/-   ##
==========================================
- Coverage   36.90%   36.89%   -0.01%     
==========================================
  Files        1310     1310              
  Lines      131372   131372              
==========================================
- Hits        48477    48474       -3     
- Misses      78682    78684       +2     
- Partials     4213     4214       +1     
Flag Coverage Δ
unittests-datacatalog 51.58% <ø> (ø)
unittests-flyteadmin 54.05% <ø> (ø)
unittests-flytecopilot 22.23% <ø> (ø)
unittests-flytectl 62.39% <ø> (ø)
unittests-flyteidl 6.92% <ø> (ø)
unittests-flyteplugins 53.84% <ø> (ø)
unittests-flytepropeller 42.90% <ø> (ø)
unittests-flytestdlib 55.26% <ø> (-0.06%) ⬇️

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.

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

Successfully merging this pull request may close these issues.

1 participant