[OCP4] `oc` client slow when using long ressource names

Solution Unverified - Updated -


  • oc get packagemanifests -A takes about 300ms, oc get packagemanifests.packages.operators.coreos.com -A takes more than 6 seconds.
  • oc get <short_resource> is faster than oc get <resource_with_apiversion>


  • Red Hat OpenShift Container Platform 4.6
  • Red Hat OpenShift Container Platform 4.7
  • High latency connection to an OpenShift cluster

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