-
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
error when getting metric values error when getting scalers ScaledObject.keda.sh "" not found #4088
Comments
I am running into this as well. |
Try using the full query string including the scaledobject. It seems like the scaledobjects is not generated on the fly if in comes empty |
@JorTurFer Thanks, this worked. But I have to after looking at the docs again I do not understand why this is needed. |
Most probably because after the changes in the architecture, something was broken, we should review it xD |
This doesnt work anymore:
A selector with ScaledObject's name needs to be specified:
|
I am still getting this error and I dont have any scaledobjects deployed; its just a fresh Keda installation. |
The commit hasn't been released yet, but it's already in main. Next minor release will solve it |
Thanks, it doesn't seem to be disruptive to anything else; i deployed a test ScaledObject and it worked fine. so no harm in using this version for now, right ? |
You are right, that's just a warning produced by a call from api server listing the metrics. Apart from the annoying message, you are safe |
Report
error when getting metric values error when getting scalers ScaledObject.keda.sh "" not found
while retrieving external metrics usingkubectl get --raw ...
Expected Behavior
Successfully retrieve the external metrics.
Actual Behavior
Error from server: rpc error: code = Unknown desc = error when getting metric values error when getting scalers ScaledObject.keda.sh "" not found
Steps to Reproduce the Problem
kubectl apply -f https://github.com/kedacore/keda/releases/download/v2.9.1/keda-2.9.1.yaml
However, it does not work when I provided metrics name
s0-rabbitmq-hello
:It hits the same error when I use https://github.com/kedacore/http-add-on
Logs from KEDA operator
From the logs, somehow it attempts to get
ScaledObject
with empty name:KEDA Version
2.9.1
Kubernetes Version
1.26
Platform
Google Cloud
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: