Autoscaling without Kubernetes cluster.

115 views
Skip to first unread message

tanvi roy

unread,
Feb 11, 2021, 10:42:06 PM2/11/21
to Selenium Users
Hello All,

Does anyone have suggestions around implementing an autoscaler.
I have a requirement where Kubernetes cluster cannot be used to scale the nodes.
Is there an existing library that supports auto-scaling(preferably on GCP)?



⇜Krishnan Mahadevan⇝

unread,
Feb 11, 2021, 10:52:57 PM2/11/21
to Selenium Users
Tanvi,

Are you talking about autoscaling the selenium nodes (or) are you talking about autoscaling the selenium standalone instances ?
When it comes to the selenium nodes, I believe the scaling needs to happen based on the new session queue and so the Grid Hub should make the decision on whether it needs to add more nodes or not.

If you are using Selenium Grid 3, you can consider the following:

https://github.com/zalando/zalenium (This is now on a frozen mode since Grid 4 pretty much brings in everything that is part of this project )
https://github.com/aerokube/ggr (You can also explore the Go Grid Router, which kind of places the role of a load balancer so that you can distribute load across multiple grids. I dont know if it supports auto scaling though)

and lastly you can take a look at https://github.com/RationaleEmotions/just-ask that kind of works on an auto scaling mode. But this implementation is confined to being locked with a single docker host. It doesn't need any container orchestration tool. It spins off containers on-demand and then works with them.

Grid 4 is the way forward. So you should definitely consider exploring Grid 4 because it bakes in a lot of the needs for distributed testing into it itself and thus making all other wrapper solutions redundant.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ https://rationaleemotions.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1efa5c6c-10e5-4ee1-85a5-6ce0d7c739b1n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages