Skip to content

feat(flytepropeller): add MaxConcurrentReconciles config for controller-runtime #7205#7206

Closed
parth0cb wants to merge 1 commit intoflyteorg:masterfrom
parth0cb:master
Closed

feat(flytepropeller): add MaxConcurrentReconciles config for controller-runtime #7205#7206
parth0cb wants to merge 1 commit intoflyteorg:masterfrom
parth0cb:master

Conversation

@parth0cb
Copy link
Copy Markdown

Summary

Adds configurable MaxConcurrentReconciles setting to allow users to tune the concurrency of reconcile loops in controller-runtime controllers.

Motivation

In our controller runtime init code, we can add WithOptions(controller.Options{MaxConcurrentReconciles: <concurrent amount>}) so that reconcile loops can be running concurrently. This setting should be configurable for users to easily adjust.

Changes

  • Added MaxConcurrentReconciles field to propeller config (flytepropeller/pkg/controller/config/config.go)
  • Default value is 1 to match controller-runtime's conservative default
  • Wired into manager.Options in:
    • flytepropeller/cmd/controller/cmd/root.go
    • flytepropeller/cmd/controller/cmd/webhook.go
    • cmd/single/start.go

Usage

propeller:
  max-concurrent-reconciles: 4

Or via environment variable: FLYTE_PROPELLER_MAX_CONCURRENTReconciles=4

Closes #7205

…er-runtime

Adds configurable MaxConcurrentReconciles setting to allow users to tune the
concurrency of reconcile loops in controller-runtime controllers.

This setting is configurable via propeller.max-concurrent-reconciles config
or the FLYTE_PROPELLER_MAX_CONCURRENTReconciles environment variable.

Default value is 1 to match controller-runtime's conservative default.

Closes #7205
@welcome
Copy link
Copy Markdown

welcome Bot commented Apr 14, 2026

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).

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.16%. Comparing base (c7419a8) to head (ca62407).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7206      +/-   ##
==========================================
+ Coverage   56.95%   58.16%   +1.21%     
==========================================
  Files         931      710     -221     
  Lines       58234    42227   -16007     
==========================================
- Hits        33166    24563    -8603     
+ Misses      22017    15435    -6582     
+ Partials     3051     2229     -822     
Flag Coverage Δ
unittests-datacatalog 53.51% <ø> (ø)
unittests-flyteadmin 53.10% <ø> (-0.04%) ⬇️
unittests-flytecopilot 43.06% <ø> (ø)
unittests-flytectl 64.09% <ø> (ø)
unittests-flyteidl 75.71% <ø> (ø)
unittests-flyteplugins 60.17% <ø> (ø)
unittests-flytepropeller ?
unittests-flytestdlib 62.61% <ø> (+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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@parth0cb parth0cb closed this by deleting the head repository Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[V2] Add executor k8s controller runtime MaxConcurrentReconciles config

2 participants