cri-resource-manager
cri-resource-manager copied to clipboard
Agent pushes existing configuration as new one regularly.
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.