Skip to content
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

limiting number of parallel sessions for a browser type #332

Open
johnqa opened this issue Jun 23, 2022 · 1 comment
Open

limiting number of parallel sessions for a browser type #332

johnqa opened this issue Jun 23, 2022 · 1 comment

Comments

@johnqa
Copy link

johnqa commented Jun 23, 2022

Hi,

I have an usecase where I would like to have a maximum number of chrome parallel sessions, leaving the remaining ones (limited by license) for firefox.

How can this be done?

I saw a flag -browser-limit but what exactly it is doing is not clear.

Thank you,
John

@vania-pooh
Copy link
Member

@johnqa all limitations in Moon are done using Kubernetes resource quota objects. Moon itself does not have a limitation for browser types. However in Moon 2 we have so-called multiple namespaces mode, where different teams can use the same license key but it's shared among multiple namespaces. In order to solve your issue you could create two users and a separate namespace for each of them. Then you limit one of these namespaces with a resource quota to the maximum number of computing resources you want to spend for Chromes. Second namespace can then have no limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants