<#7206 feat(flytepropeller): add MaxConcurrentReco...
# flyte-github
a
#7206 feat(flytepropeller): add MaxConcurrentReconciles config for controller-runtime #7205 Pull request opened by parth0cb 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 flyteorg/flyte