10000 [v0.11] Make agent worker counts configurable by weyfonk · Pull Request #3162 · rancher/fleet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[v0.11] Make agent worker counts configurable #3162

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

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

weyfonk
Copy link
Contributor
@weyfonk weyfonk commented Dec 19, 2024

Backport of #3094 and #3152 to v0.11.
Refers to #3121.

…ontrollers (rancher#3094)

* Make worker count configurable for cluster, clustergroup and imagescan

Reconcilers for clusters, cluster groups and image scans now have
configurable `controller-runtime` worker counts, similarly to what is
already supported for gitrepo, bundle and bundle deployment reconcilers.

* Remove workers env vars from cleanup container

Fleet's cleanup logic does not make use of controller-runtime
reconcilers, hence does not need environment variables specifying how
many workers such reconcilers can use.

* Make worker count configurable for agent reconcilers

Reconcilers living in the Fleet agent now have configurable
`controller-runtime` worker counts, similarly to what is already
supported in the Fleet controller.
This enables agent worker counts to be configured when installing the
`fleet` chart, which is easier than tweaking individual releases of the
`fleet-agent` chart.
This still needs work to enable worker count updates through `helm
upgrade --reuse-values` though, as this updates the `fleet-agent`
`StatefulSet` _twice_, the second time with default values (50 workers
per reconciler).
@weyfonk weyfonk requested a review from a team as a code owner December 19, 2024 11:53
@manno manno merged commit ffd5996 into rancher:release/v0.11 Dec 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants
0