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 sarama metrics and close scalers #1572

Merged
merged 1 commit into from Feb 5, 2021
Merged

Disable sarama metrics and close scalers #1572

merged 1 commit into from Feb 5, 2021

Conversation

ahmelsayed
Copy link
Contributor

@ahmelsayed ahmelsayed commented Feb 5, 2021

Signed-off-by: Ahmed ElSayed ahmels@microsoft.com

before after
before after

after 500 reconciliations for a kafka ScaledObject

This IBM/sarama#1321 was the main culprit, though tbh I'm not sure what turning off those metrics affects, I verified that the kafka tests still pass. I also noticed a place where some scalers weren't being closed.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • [N/A] Tests have been added
  • [N/A] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
  • [N/A] A PR is opened to update the documentation on (repo) (if applicable)
  • Changelog has been updated

Fixes #1565

Signed-off-by: Ahmed ElSayed <ahmels@microsoft.com>
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.

Good catch!

@zroubalik zroubalik merged commit df9ee68 into main Feb 5, 2021
@zroubalik zroubalik deleted the ahmels/mm-leak branch February 5, 2021 23:17
ycabrer pushed a commit to ycabrer/keda that referenced this pull request Mar 1, 2021
Signed-off-by: Ahmed ElSayed <ahmels@microsoft.com>
Rodolfodc pushed a commit to sidilabs/keda that referenced this pull request Mar 11, 2021
Signed-off-by: Ahmed ElSayed <ahmels@microsoft.com>
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 reaching OOM
2 participants