aerokube / ggr

A lightweight load balancer used to create big Selenium clusters
https://aerokube.com/ggr/latest/
Apache License 2.0
314 stars 74 forks source link

quota files per user? #238

Closed rohitpatwari84 closed 6 years ago

rohitpatwari84 commented 6 years ago

If I have 100 users using my selenoid cluster.Do I have to create 100 user files.Isnt there any better way to avoid so much duplication?Or I should create files as per groups and assign multiple users a single quota file?Although in that case too the groups might increase and so the files

vania-pooh commented 6 years ago

@rohitpatwari84 two possible answers: 1) We are using Ggr users mainly as per-team accounts, i.e. we give a pair of user\password to a team, not to every distinct person. 2) We also have a tool called sctl allowing to generate XML quota files from more compact JSON definition.

rohitpatwari84 commented 6 years ago

Ok thanks @vania-pooh . I think second one is a good option. We can also build a small UI utility which will accept the fields in a user friendly way and create a xml for us.

vania-pooh commented 6 years ago

@rohitpatwari84 then take a look at "alias" section of sctl JSON format. It allows to easily copy quota files. Feel free to ask more questions or close this issue.

rohitpatwari84 commented 6 years ago

Thanks @vania-pooh. I will take a look at sclt.