Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2619

ClusterVersion controller: tunable poll interval

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.18
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Today the clusterversion controller Watch()es ClusterDeployment, but that's it. So it'll refresh our labels if the CD changes, or on the default occasions controller-runtime decides (which I think may be a) when the controller restarts, and b) every 1000s?)

      Add a tunable that triggers a reconcile on an interval settable from HiveConfig

      We could do this the same way we do the one on the machinepool controller – but that may enqueue all ClusterDeployments at once. It might be better to use the method suggested in HIVE-2542 where we requeue each individual CD with RequeueAfter(interval + jitter) to avoid bunching.

              efried.openshift Eric Fried
              efried.openshift Eric Fried
              None
              None
              Jianping Shu Jianping Shu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: