On Wed, Aug 10, 2016 at 2:26 PM, Srinivas Naga Kotaru (skotaru) <
[email protected]> wrote:

> Need some clarity on quotas and limits
>
> As a platform team, we want control quotas on cpu and memory and put upper
> bounds and same time provide more flexibility to app team to control or
> decide what is limits for their apps.
>
> Our clients come to our own UI and ask for project. They don’t’ have right
> to create projects. We disabled it.   Our robot account will create
> project, setup initial project admin, and appropriate roles ( edit, view,
> admins etc)
>
> One activity we want to control from UI is set quotas and put limits.
> Robot account will be used to create quota and limit range on every
> project. These numbers different project to project depending on client
> type or apps types. We want to optimize better density + best QOS so both
> infra and apps will be happier in terms of better utilization of resources.
>
> Documentation is good but not answering real time scenarios or examples
> unless you understood big picture.
>
> Questions:
>
>
> 1. What if we just define per project quota but don’t create limitrange?
> Can client control request and limits by himself at pod level subject to
> with in the upper controls of cpu/memory?
>

Yes.


>
> 2. What if if we create both quota  and limit range with defaults values
> for better density ( scheduler to place pods with decent default request)
> but later client to control both request and limits subject to quota
> limitations. Can they able to do or limitrange defaults always take
> precedence?
>
>       default:
>         cpu: “500m"
>         memory: “1Gi"
>       defaultRequest:
>         cpu: “300m"
>         memory: “512Mi”
>


If you specify your own default, it overrides.



>
> 3. Any decent documentation which explain real use cases rather high level
> which is available from project docs. ( I think it is cut and paste from
> official Kubernetes docs)
>


There is Dan's latest blog but may not be quite at your use case
level: Managing
Compute Resources with OpenShift/Kubernetes
<https://blog.openshift.com/managing-compute-resources-openshiftkubernetes/>



>
>
> --
> *Srinivas Kotaru*
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to