Tekton pipelines in a cluster with Resource Quotas enabled

Solution Verified - Updated -

Issue

  • When you try to start a Tekton pipeline on a cluster with Resource Quotas enabled, also if you have set resources (limits and requests) for each and every task according to the Tekton documentation, pipeline doesn't start with the following error message:

    failed to create task run pod "xxx-xxxx-xxxxxxxx-m6twl-xxxxx-xx-xxxx": pods "xxx-xxxx-xxxxxxxx-m6twl-xxxxx-xx-xxxx" is forbidden: failed quota: "quota name": must specify limits.cpu,limits.memory,requests.cpu,requests.memory. Maybe missing or invalid Task "task name"
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content