Must specify limits.cpu,limits.memory,requests.cpu,requests.memory

Solution In Progress - Updated -

Issue

  • How to specify limits.cpu,limits.memory,requests.cpu,requests.memory for builds.
  • When applying resourcequota on project level builds fails with below error :
Error creating: pods "test-php-1-build" is forbidden: Failed quota: ludo-quota: must specify limits.cpu,limits.memory,requests.cpu,requests.memory
23s        23s         1         test-php-1   Build                 Warning   HandleBuildError   {build-controller }   Build has error: failed to create build pod: pods "test-php-1-build" is forbidden: Failed quota: ludo-quota: must specify limits.cpu,limits.memory,requests.cpu,requests.memory

Environment

  • OpenShift Container Platform
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.