-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
KEDA operator deployment has error when deployed locally #3751
Comments
Hey, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Hi, I got similar error in the logs: I am using microk8s (Ubuntu 22.04) - Here is the kubectl version:
I enabled community addons and deployed Keda that way. I grab the yaml feil from this article about Keda to deploy a 'ScaledObject': The API versions in my cluster are:
I got a full log file if needed. Here some extracts: 2023-05-18T07:26:34Z INFO controller-runtime.metrics Metrics server is starting to listen {"addr": ":8080"} It looks to me that Keda (via the addons comminuty for microk8s) is trying to used an old api version 'autoscaling/v2beta2' instead of 'autoscaling/v2'. |
Hi @tvert , |
Hi @JorTurFer , Thanks for the hint. Thanks Q: If I have to do a manual install, do you know or have links to help with the manual installation process? |
IDK because we don't manage it. Maybe you could ask in their repo |
I used the documentaion provided by the release notes: And it works - I was able to deploy my ScaleObject yaml file - no more apiversion issues. Thank you @JorTurFer for the hint. |
Report
make deploy
ofmain
branch causing keda-operator deployment to throw error belowExpected Behavior
No errors in deployment.
Actual Behavior
Error in keda-operator pod (Error pasted above).
And pods restarting due to it:
Steps to Reproduce the Problem
make docker-build
make publish
(changed ghcr repo to my personal docker hub repo)VERSION=main make deploy
Logs from KEDA operator
KEDA Version
main
Kubernetes Version
No response
Platform
Red Hat OpenShift
Scaler Details
Kafka
Anything else?
No response
The text was updated successfully, but these errors were encountered: