[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Error creating: pods "mysql-79-" is forbidden: failed quota: resource-quota: must specify limits.cpu, limits.memory, requests.cpu, requests.memory

On Thu, Jun 29, 2017 at 11:21 AM, Stéphane Klein <contact stephane-klein info> wrote:

2017-06-29 16:33 GMT+02:00 Jessica Forrester <jforrest redhat com>:
It means the pod template in your DC doesn't set requests and limits for the pods.  If you are going to have a resourcequota restricting cpu and memory then you either have to explicitly set requests/limits on all of your pod templates OR

Yes, it's that, thanks.

you need to create a limit range that will provide defaults

Defaults ? How can I define defaults limit range ? 

Limit ranges are a separate object from resourcequota.  Recommend just reading the docs, there are examples: https://docs.openshift.org/latest/dev_guide/compute_resources.html#dev-limit-ranges 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]