-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[🐛 Bug]: Keda is not scaling when i set the scale type is deployment and my job is goin gin queue #2791
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
@Kamalb2592, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Did you deploy by using Helm chart in this repo or your own YAML/charts? |
Using Helm Chart only and below the chart file content
|
My Value file |
I see the request in queue looks like without chromeName:
hpa:
platformName: "" or update your client code with |
There is mismatch between platformName in request and scaler config. |
Thanks, it's working now. However, the jobs are being assigned sequentially rather than in parallel — only one job is picked up at a time while the others remain in the queue. I also noticed that only one Chrome node is being created at a time. My autoscaling type is deployment |
What happened?
Operatoe log
unable to get external metric selenium-grid-qas/s0-selenium-grid-chrome--/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: selenium-grid-selenium-node-chrome,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: the server was unable to return a response in the time allotted, but may still be processing the request (get s0-selenium-grid-chrome--.external.metrics.k8s.io)
keda enablement in values file
keda: enabled: true metricsServer: useHostNetwork: true
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
`unable to get external metric selenium-grid-qas/s0-selenium-grid-chrome--/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: selenium-grid-selenium-node-chrome,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: the server was unable to return a response in the time allotted, but may still be processing the request (get s0-selenium-grid-chrome--.external.metrics.k8s.io)`
Operator log
"keda-operator.selenium-grid-qas.svc.cluster.local:9666", }. Err: connection error: desc = "transport: Error while dialing: dial tcp XXXXXXXXXXX:9666: connect: connection refused" I0417 13:32:34.062543 1 provider.go:64] "msg"="Connection to KEDA Metrics Service gRPC server has been successfully established" "logger"="keda_metrics_adapter.provider" "server"="keda-operator.selenium-grid-qas.svc.cluster.local:9666"
keda apiserver log
E0417 13:57:00.700425 1 writers.go:135] "Unhandled Error" err="apiserver was unable to write a fallback JSON response: http: Handler timeout" logger="UnhandledError" E0417 13:57:00.701566 1 timeout.go:140] "Post-timeout activity" logger="UnhandledError" timeElapsed="70.788205ms" method="GET" path="/apis/external.metrics.k8s.io/v1beta1/namespaces/selenium-grid-qas/s0-selenium-grid-chrome--" result=null
Operating System
EKS
Docker Selenium version (image tag)
latest
Selenium Grid chart version (chart version)
0.42.1
The text was updated successfully, but these errors were encountered: