aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
224 stars 20 forks source link

Resource Quota Clarity #197

Open WafflesVonMaple opened 4 years ago

WafflesVonMaple commented 4 years ago

Looking to run Moon in a fairly restricted cluster, as in I set the resource quota for moon namespaces ahead of time, and moon itself does not have permissions to edit said quota.

The privileges Moon needs are: Reading resource quota information (for licensing purposes)

Is there documentation on the resource quotas moon looks at or attempts to create?

[Stopping Moon because of: failed to create resource quota "max-moon-sessions"

vania-pooh commented 4 years ago

@WafflesVonMaple take a look at this: https://github.com/aerokube/moon-deploy/blob/e92f502c19ac7bdfcc20bf4f27dc6795f8e57f36/moon.yaml#L71-L79 You should set resource quota pods hard limit to number of Moon pods + license key parallel sessions (or 4 without license key).