Description of problem:
Running the discovery cache every 10 minutes has a significant productivity impact on using kubectl on clusters with many CRDs as it is taking time to run these unnecessary requests. The discovery cache doesn't really have to run every 10 minutes, as CRDs don't change that often. A lot of unnecessary load is created on clients and servers.
Version-Release number of selected component (if applicable):
4.11.0
How reproducible:
Cluster with a lot of CRDs
Steps to Reproduce:
https://github.com/kubernetes/kubernetes/issues/107130
Actual results:
Significant grow of kubectl request completion every 10 minutes
Expected results:
Significant grow of kubectl request completion every 24 hours
Additional info:
https://github.com/kubernetes/kubernetes/issues/107130 Changes brought into 4.11 through https://github.com/openshift/oc/pull/1092 rebase.
- blocks
-
OCPBUGS-1638 Increase default value of cache TTL to 6 hours
- Closed
- clones
-
OCPBUGS-1638 Increase default value of cache TTL to 6 hours
- Closed