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

Increase default QPS and worker threads of sidecars #1834

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

ConnorJC3
Copy link
Contributor

@ConnorJC3 ConnorJC3 commented Nov 9, 2023

Is this a bug fix or adding new feature?

Mostly a bug fix

What is this PR about? / Why do we need it?

Now that #1819 is going to land, the default QPS values are way too low. Bump them up so the driver does not come by default in slow mode.

Includes a check to prevent setting these values if the user has already done so via additionalArgs.

What testing is done?

CI, local rendering

Use helm template . --set 'sidecars.provisioner.additionalArgs[0]=--kube-api-qps=999' to confirm that the additionalArgs check is working

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 9, 2023
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 9, 2023
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 9, 2023
Copy link
Member

@torredil torredil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ kubectl get pods -A | grep "ebs"

kube-system   ebs-csi-controller-68bbbf668b-vbzd2    5/6     CrashLoopBackOff   4 (59s ago)   2m27s
kube-system   ebs-csi-controller-68bbbf668b-wr88p    5/6     CrashLoopBackOff   4 (63s ago)   2m27s
kube-system   ebs-csi-node-2jr6c                     3/3     Running            0             2m27s
kube-system   ebs-csi-node-kbzcm                     3/3     Running            0             2m27s
$ kubectl logs ebs-csi-controller-68bbbf668b-vbzd2 -n kube-system -c csi-resizer

flag provided but not defined: -worker-threads

resizer uses workers: https://github.com/kubernetes-csi/external-resizer

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 9, 2023
@torredil
Copy link
Member

torredil commented Nov 9, 2023

Small change otherwise lgtm

Signed-off-by: Connor Catlett <conncatl@amazon.com>
Copy link
Member

@torredil torredil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 9, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: torredil

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2023
@k8s-ci-robot k8s-ci-robot merged commit 7c48871 into kubernetes-sigs:master Nov 9, 2023
8 checks passed
@AbeOwlu
Copy link

AbeOwlu commented May 22, 2024

@ConnorJC3 , quick inquiry on the trajectory of the ebs controller regarding client side qps and burst config;

  • the upstream idea is to eventually let the server P&F decide on load handling and rate limiting response. Is this on the path for ebs csi?

@ConnorJC3
Copy link
Contributor Author

ConnorJC3 commented May 22, 2024

@AbeOwlu we take the upstream sidecars essentially as-is, so if/when this change is made there it will automatically be integrated in the EBS CSI Driver (likely in the following release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants