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

Fix: container argument for keda-operator in 12-keda-deployment.yaml #192

Closed
wants to merge 1 commit into from

Conversation

theboyisno-1
Copy link

Fixed keda-operator container argument causing pod crashloop

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • A PR is opened to update KEDA core (repo) (if applicable, ie. when deployment manifests are modified)
  • README is updated with new configuration values (if applicable)

Fixes #191

Signed-off-by: Abdul Khan <kinginthenorth@Abduls-MacBook-Pro.local>
@tomkerkhove
Copy link
Member

@zroubalik Can you review this one please? Given this is inline with the raw YAML that we have on https://github.com/kedacore/keda/blob/main/config/manager/manager.yaml#L32

@zroubalik
Copy link
Member

--enable-leader-election was the previous flag, --leader-elect is the new flag we are going to use with KEDA 2.5, this change was brought be migrating to Kubebuilder v3 - kedacore/keda#2082

@tomkerkhove
Copy link
Member

So I presume this enhancement is redundant then @zroubalik ?

@tomkerkhove tomkerkhove added the open-discussion All PRs that have an open discussion that needs to be cleared out first. label Nov 16, 2021
@zroubalik
Copy link
Member

@tomkerkhove yeah, from 2.5 onwards we will use --leader-elect flag.

@tomkerkhove
Copy link
Member

Thank you for your contribution but it seems like we no longer need this.

Feel free to re-open if you feel the need.

@tomkerkhove tomkerkhove added no-change-required All issues where no change is required and removed open-discussion All PRs that have an open discussion that needs to be cleared out first. labels Nov 16, 2021
@theboyisno-1
Copy link
Author

@tomkerkhove Thanks for your time, but I can see that latest helm chart version is 2.4 which is expecting --leader-elect flag hence we are unable to use it. My suggestion is either 2.4 should have older docker image which would work with older flag or it should have new flag.

@tomkerkhove
Copy link
Member

v2.4 is using --enable-leader-election as per https://github.com/kedacore/charts/blob/v2.4.0/keda/templates/12-keda-deployment.yaml#L54.

What is currently in master is just the WIP version of what v2.5 will be, we only bump the chart version when we are about to ship.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-required All issues where no change is required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arg '-leader-elect' in '12-keda-deployment.yaml' template is no longer supported.
3 participants