-
Notifications
You must be signed in to change notification settings - Fork 115
Getting "unknown field "targetPendingRequests"" while deploying HTTP Scaled Object #368
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
Comments
According to the latest version, this field should be used like this: kind: HTTPScaledObject
apiVersion: http.keda.sh/v1alpha1
metadata:
name: httpscaledobject
namespace: app
spec:
host: "abc.com"
targetPendingRequests: 100 # should be here
scaleTargetRef:
deployment: app-deployment
service: app-service
port: 443
# targetPendingRequests: 100 # shouldn't be here |
+1 facing same issue
|
@avinash31d - last time I've checked "targetPendingRequests" is not available yet - see an issue I created. |
@dariuszbz thanks for the response, by the time it gets done, can we do one thing, can we modify the default value and build our own docker image and deploy it? |
@dariuszbz Also, I can see here Line 28 in 201c7cb
there is an environment variable we can set KEDA_HTTP_SCALER_TARGET_PENDING_REQUESTS how do you set this through helm deployment? |
@tpiperatgod is correct, the @avinash31d regarding your comment here, you may have an old CRD schema installed. can you:
and let me know if it works?
@avinash31d it should be available in
Thank you for your understanding and words of encouragement. Right now the project is mostly just me, but one more developer is starting to do work on it (in fact, he just merged his first PR)
in your You'll need chart version This value will apply to all |
@arschles I updated it and created a new PR #231, please review it and merge if useful. (This is my first PR in any opensource project, please let me know if I missed something, I will fix it) I followed the guidelines here [https://github.com/kedacore/charts/blob/main/CONTRIBUTING.md](contributing to charts) |
@arschles hi Aaron, may I know when will v0.3.0 be released? :) |
@avinash31d I saw #231 - thanks for submitting that, and good catch! We'll merge it as soon as we can. @benjaminhuo we're planning on two releases. First, a Also, I'm happy to hear that you're interested in this project. I know that @tpiperatgod has contributed in the past, and we're happy to have any or all of you contribute where you'd like. |
@arschles even I could have contributed but my bad luck I am not a go developer. The issue can be closed now. |
@arschles Looking forward to the v0.3.0 release :), seems that v0.3.0 is more stable and powerful with the global mode added. Is there any plan or roadmap for post v0.3.0 development? Regards, |
@benjaminhuo v0.3.0 is now released 🎉 as for the roadmap for what's next, we have plans for the next two minor releases - v0.4.0 and v0.5.0 - at the milestones page. v0.4.0 is next. it is mostly a release to improve test coverage, RPC between components, and other "internal" things like that. is there something that you have a particular interest in seeing? |
Report
While deploying an HTTP scaled object, I received the below error:
error validating data: ValidationError(HTTPScaledObject.spec.scaleTargetRef): unknown field "targetPendingRequests" in sh.keda.http.v1alpha1.HTTPScaledObject.spec.scaleTargetRef; if you choose to ignore these errors, turn validation off with --validate=false
Expected Behavior
The HTTP scaled object should be deployed,
Actual Behavior
I am getting the below validation error:
error validating data: ValidationError(HTTPScaledObject.spec.scaleTargetRef): unknown field "targetPendingRequests" in sh.keda.http.v1alpha1.HTTPScaledObject.spec.scaleTargetRef; if you choose to ignore these errors, turn validation off with --validate=false
Steps to Reproduce the Problem
ms-scaledobject.txt
Logs from KEDA HTTP operator
What version of the KEDA HTTP Addon are you running?
Chart version: keda-add-ons-http-0.2.1, App version: 0.2.0
Kubernetes Version
1.20
Platform
Microsoft Azure
Anything else?
No response
The text was updated successfully, but these errors were encountered: