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

Disable response compression for k8s restAPI in client-go #3866

Merged
merged 9 commits into from
Nov 21, 2022

Conversation

ckuduvalli
Copy link
Contributor

@ckuduvalli ckuduvalli commented Nov 16, 2022

Keda-operator timing out for large number of configmaps and secrets. Hence disabling compression in client-go.
#3863

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • A PR is opened to update the documentation on (repo) (if applicable)
  • Changelog has been updated and is aligned with our changelog requirements

Fixes #3863

Chaitanya Kuduvalli Ramachandra added 2 commits November 16, 2022 14:56
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
@ckuduvalli ckuduvalli requested a review from a team as a code owner November 16, 2022 09:28
Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

  1. Shouldn't we add the same to Metrics Server config?

    if cfg != nil {

  2. Could you please add this issue to Changelog?

  3. And also a document it, probably here: https://keda.sh/docs/2.9/operate/cluster/#kubernetes-client-parameters

@ckuduvalli
Copy link
Contributor Author

have added documentation here:
kedacore/keda-docs#978

Chaitanya Kuduvalli Ramachandra added 2 commits November 16, 2022 15:16
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
@ckuduvalli
Copy link
Contributor Author

@zroubalik all feedback incorporated. Please check

@JorTurFer
Copy link
Member

JorTurFer commented Nov 16, 2022

/run-e2e aws*
Update: You can check the progress here

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

Looking good, thanks a lot!

adapter/main.go Outdated Show resolved Hide resolved
Chaitanya Kuduvalli Ramachandra added 3 commits November 17, 2022 16:56
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
@JorTurFer
Copy link
Member

JorTurFer commented Nov 17, 2022

/run-e2e aws*
Update: You can check the progress here

@JorTurFer
Copy link
Member

JorTurFer commented Nov 17, 2022

/run-e2e
Update: You can check the progress here

@JorTurFer JorTurFer enabled auto-merge (squash) November 17, 2022 13:02
@JorTurFer JorTurFer disabled auto-merge November 17, 2022 13:03
@JorTurFer
Copy link
Member

JorTurFer commented Nov 21, 2022

/run-e2e
Update: You can check the progress here

@JorTurFer JorTurFer merged commit 7ffdf59 into kedacore:main Nov 21, 2022
josephangbc pushed a commit to josephangbc/keda that referenced this pull request Dec 6, 2022
)

* Disable response compression for k8s restAPI in client-go

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Updating metrics server with the same parameters

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Adding the change to changelog

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Set default value to true for disable compression

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Changing default value to true in adapter

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Co-authored-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
josephangbc pushed a commit to josephangbc/keda that referenced this pull request Dec 6, 2022
)

* Disable response compression for k8s restAPI in client-go

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Updating metrics server with the same parameters

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Adding the change to changelog

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Set default value to true for disable compression

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

* Changing default value to true in adapter

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>

Signed-off-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Co-authored-by: Chaitanya Kuduvalli Ramachandra <chaitanya.r@ETC02Y77ZVJG5H.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keda-operator timing out for large number of configmaps and secrets
3 participants