openshift-evangelists / openshifter

Tool for deploying OpenShift clusters and workshops
Apache License 2.0
24 stars 12 forks source link

Introduce quotas per project #33

Open mhausenblas opened 7 years ago

mhausenblas commented 7 years ago

It does happen once in a while that training participants happen to scale to, say, 2000 pods just for the giggles and that will leave no resources on the machine to fix the situation. So for self protection, we should create quotas that limit the number of pods per project.

mhausenblas commented 7 years ago

CC: @marekjelen ^^^

marekjelen commented 7 years ago

We need either to

a) Limit project per user [1] b) Disable self-provisioning of projects [2] c) Setup quota per project created by the tool [3]

or

a) Setup multi-project quota [4]

[1] https://docs.openshift.org/latest/admin_guide/managing_projects.html#limit-projects-per-user [2] https://docs.openshift.org/latest/admin_guide/managing_projects.html#disabling-self-provisioning [3] https://docs.openshift.org/latest/admin_guide/quota.html [4] https://docs.openshift.org/latest/admin_guide/multiproject_quota.html