Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1639

Increase default value of cache TTL to 6 hours

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.11
    • oc
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      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.
      

              jchaloup@redhat.com Jan Chaloupka
              jchaloup@redhat.com Jan Chaloupka
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: