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

Increase default value of cache TTL to 6 hours

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.10
    • oc
    • 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.10.z
      

      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
      

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

              Created:
              Updated:
              Resolved: