Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31866

Autoscaler metric trimming reduces the number of metric observations on recovery

    XMLWordPrintableJSON

Details

    Description

      The autoscaler uses a ConfigMap to store past metric observations which is used to re-initialize the autoscaler state in case of failures or upgrades.

      Whenever trimming of the ConfigMap occurs, we need to make sure we also update the timestamp for the start of the metric collection, so any removed observations can be compensated with by collecting new ones. If we don't do this, the metric window will effectively shrink due to removing observations.

      This can lead to triggering scaling decisions when the operator gets redeployed due to the removed items.

      Attachments

        Issue Links

          Activity

            People

              mxm Maximilian Michels
              mxm Maximilian Michels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: