You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Keda SeleniumGridScaler to autoscale chrome pods depending on incoming test requests to selenium hub queue.
In my fr-selenium-npr I have a selenium hub 4 pod installed in my namespace and 3 nodes kubernetes deployment (chrome, edge and firefox) with replicat count 0.
I created 3 scaledobject. 1 per browser. Actually I use only chrome. I run several test jobs, each job creates a request in the hub. So I arrive to have more than 3 requests in the queue of the hub, but I can't have more than 2 chrome pods. The autoscaler dont add more than 2 pods. I watched the keda-operator pod logs in debug and I dont see any error, but I also I dont see any trace to autoscale and add pod the 3 chrome pod. In my selenium namespace I watched event autoscale for the first and the second pod but there is nothing happening after 2 pods.
This is my scaled Object for chrome:
k get scaledobject prod-selenium-grid-chrome-scaledobject -o yaml
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
annotations:
meta.helm.sh/release-name: prod-selenium
meta.helm.sh/release-namespace: fr-selenium-npr
name: prod-selenium-grid-chrome-scaledobject
namespace: fr-selenium-npr
spec:
maxReplicaCount: 6
minReplicaCount: 0
scaleTargetRef:
name: prod-selenium-node-chrome-deploy
triggers:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am using Keda SeleniumGridScaler to autoscale chrome pods depending on incoming test requests to selenium hub queue.
In my fr-selenium-npr I have a selenium hub 4 pod installed in my namespace and 3 nodes kubernetes deployment (chrome, edge and firefox) with replicat count 0.
I created 3 scaledobject. 1 per browser. Actually I use only chrome. I run several test jobs, each job creates a request in the hub. So I arrive to have more than 3 requests in the queue of the hub, but I can't have more than 2 chrome pods. The autoscaler dont add more than 2 pods. I watched the keda-operator pod logs in debug and I dont see any error, but I also I dont see any trace to autoscale and add pod the 3 chrome pod. In my selenium namespace I watched event autoscale for the first and the second pod but there is nothing happening after 2 pods.
This is my scaled Object for chrome:
k get scaledobject prod-selenium-grid-chrome-scaledobject -o yaml
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
annotations:
meta.helm.sh/release-name: prod-selenium
meta.helm.sh/release-namespace: fr-selenium-npr
name: prod-selenium-grid-chrome-scaledobject
namespace: fr-selenium-npr
spec:
maxReplicaCount: 6
minReplicaCount: 0
scaleTargetRef:
name: prod-selenium-node-chrome-deploy
triggers:
browserName: chrome
url: http://prod-selenium-hub-service.fr-selenium-npr:4444/graphql
type: selenium-grid
I think there is a bug in the scaler or I miss some configuration.
Can you help me please?
Thank you.
Rami
Beta Was this translation helpful? Give feedback.
All reactions