cri-resource-manager icon indicating copy to clipboard operation
cri-resource-manager copied to clipboard

Agent pushes existing configuration as new one regularly.

Open klihub opened this issue 2 years ago • 0 comments

Describe the bug

cri-resmgr-agent periodically pushes the existing configuration to cri-resmgr as new one. The current assumption is that this happens regularly, every time one of the watches (ConfigMap or Adjustment CRD) used to track the state of configuration expires.

Expected behavior

Configuration is only pushed as new when it really changes (when either the ConfigMap or the associated node labeling gets updated, or Adjustment CRDs) get updated.

To Reproduce

Create ConfigMap for cri-resmgr. Run cri-resmgr and cri-resmgr-agent. Wait without touching the configuration.

klihub avatar Nov 08 '22 13:11 klihub