Skip to content

Agent pushes existing configuration as new one regularly. #913

@klihub

Description

@klihub

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions