openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
136 stars 147 forks source link

Resource limit #125

Closed bentterp closed 5 years ago

bentterp commented 5 years ago

I suggest applying some form of quota on the lab projects, to prevent lab users experimenting too freely with the replicationcount, as this can cause great disruption during the lab session.

jbrannst commented 5 years ago

A user quota draft is available but not implemented [1]. @jorgemoralespou can we please apply this or something like this to prevent users starting 2000 pods and killing the environment? The OpenShift Starter workshop is our most used workshop as it's great for onboarding basic-level users, which are the majority in most enterprise accounts.

[1] https://github.com/openshift-labs/starter-guides/edit/ocp-3.11/apb/roles/provision-java-starter-guides/tasks/per_user.yml

jorgemoralespou commented 5 years ago

on RHPDS clusters, which are the base target for this workshops a quota should exist, but yes, definitely we should look into at least limiting the number of pods, just in case.

I'll add it soon.

jorgemoralespou commented 5 years ago

Fixed by: https://github.com/openshift-labs/starter-guides/commit/efb4659a77e342cfdff6c247401e2c24dafc1556

If you feel more resources need to be quotad, just comment here.

jbrannst commented 5 years ago

Thanks! Will do nicely