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

[SURE-9061] Increase Worker Count Defaults #2899

Closed
manno opened this issue Sep 25, 2024 · 1 comment
Closed

[SURE-9061] Increase Worker Count Defaults #2899

manno opened this issue Sep 25, 2024 · 1 comment
Assignees
Milestone

Comments

@manno
Copy link
Member

manno commented Sep 25, 2024

Fleet uses a conservative defaults. The previous version used 50 queue workers

The worker count is only configurable for the gitops, bundle and bundledeployment controllers. Cluster and cluster groups are also involved in many requests.

@mmartin24
Copy link
Collaborator

Verified in Rancher v2.9-9877ad6f8a6805de6314d739b7023a4a075f525a-head with fleet rancher/fleet:v0.10.4-rc.1


Checked 50 workers set by default for ClusterGroup, Bundle, BundleDeployment, ImageScan and Cluster:

Logs:

gh-runner@fleet-e2e-ci-9b62b3b689c74d41bb2fceb39c5fd259:~> k logs -n cattle-fleet-system fleet-controller-7bc9fbfd75-57dlw | grep "worker"
Defaulted container "fleet-controller" out of: fleet-controller, fleet-cleanup, fleet-agentmanagement
{"level":"info","ts":"2024-10-03T13:10:40Z","msg":"Starting workers","controller":"configmap","controllerGroup":"","controllerKind":"ConfigMap","worker count":1}
{"level":"info","ts":"2024-10-03T13:10:40Z","msg":"Starting workers","controller":"clustergroup","controllerGroup":"fleet.cattle.io","controllerKind":"ClusterGroup","worker count":50}
{"level":"info","ts":"2024-10-03T13:11:00Z","msg":"Starting workers","controller":"bundle","controllerGroup":"fleet.cattle.io","controllerKind":"Bundle","worker count":50}
{"level":"info","ts":"2024-10-03T13:11:00Z","msg":"Starting workers","controller":"bundledeployment","controllerGroup":"fleet.cattle.io","controllerKind":"BundleDeployment","worker count":50}
{"level":"info","ts":"2024-10-03T13:11:00Z","msg":"Starting workers","controller":"imagescan","controllerGroup":"fleet.cattle.io","controllerKind":"ImageScan","worker count":50}
{"level":"info","ts":"2024-10-03T13:11:00Z","msg":"Starting workers","controller":"cluster","controllerGroup":"fleet.cattle.io","controllerKind":"Cluster","worker count":50}
time="2024-10-03T14:49:48Z" level=info msg="Removed finalizer test-workercounts-default-qa-test-apps-nginx-app from content resource s-0addd59e48ff2dfc9cb5606b16eca218ffa52ff494837e22210989511b599"
gh-runner@fleet-e2e-ci-9b62b3b689c74d41bb2fceb39c5fd259:~> k get pods -n cattle-fleet-system fleet-controller-7bc9fbfd75-57dlw -o=json | grep "image" | head -1
                "image": "rancher/fleet:v0.10.4-rc.1",

image

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

No branches or pull requests

2 participants