-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[🐛 Bug]: Keda and Selenium Grid mismatch queues #2442
Comments
@jorgegb95, 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! |
Hi, are you using KEDA images 4.15.1 that delivered in this repo? |
We simply enabled autoscaling in the values as indicated in the documentation ‘autoscaling.enabled’ so we understand that it will install the latest available version of keda. |
Ok, can you try chart version |
We have tried installing version 0.37.0 of the chart and are seeing the selenium pod restart for a 143. Add that we are launching about 100 chrome nodes and it is causing the 143 error, how could I debug to see which piece of selenium is giving the error? |
I am suspecting something around this config key. global:
seleniumGrid
revisionHistoryLimit: 10
Can you try update this to value e.g |
I have made the above changes and errors still occur. I have been monitoring and it seems to be a ‘Distributor’ problem. The log shows an error indicating that the liveness probe has failed with the following message: It seems the Distributor is delayed in processing a new session in the queue. I have been checking and we have no connection (The cluster is a Azure Aks using kubenet) problems in the cluster or anything. I'm not creating an ingress for the selenium. |
Ok, that message is coming from liveness probe of Distributor. The probe tries to check Nodes should be spawned to serve requests in queue, ensure sessions count should not == 0 when queue > 0
|
What happened?
We have Selenium Grid with Keda enabled on an AKS cluster which is installed using terraform.
The problem we have detected is that if the number of queued requests exceeds the maximum that keda can scale to, it stops detecting if there are things queued but the pod hub does detect it.
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
Aks Kubernetes version 1.28.9
Docker Selenium version (image tag)
4.25.0-20240922
Selenium Grid chart version (chart version)
0.36.1
The text was updated successfully, but these errors were encountered: