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

remove metrics server leader election env vars #1434

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

lantingchiang
Copy link
Contributor

The documentation originally mentions the possibility to set leader election parameters through environment variables for the keda-metrics-server. However, it was confirmed in #1450 that the keda-metrics-server does not use leader election, and these parameters should not be there.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Fixes #

@lantingchiang lantingchiang requested a review from a team as a code owner July 24, 2024 20:13
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

Copy link

netlify bot commented Jul 24, 2024

Deploy Preview for keda ready!

Name Link
🔨 Latest commit d781763
🔍 Latest deploy log https://app.netlify.com/sites/keda/deploys/66a266fc224309000872c8fc
😎 Deploy Preview https://deploy-preview-1434--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Checking the code, those envs are still in use and they should be removed from the code before. This means that we should remove them only from v2.15 version and remove them from the code too -> https://github.com/kedacore/keda/blob/main/cmd/adapter/main.go#L89-L105

Could you update this PR and create another PR removing the code? I've reviewed the adapter and nothing is using the leader election API, so it's safe removing it

@JorTurFer JorTurFer merged commit 38c30ca into kedacore:main Jul 30, 2024
7 checks passed
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.

2 participants