Controller reports innacurate UpdatedReplicas count #355
Labels
kind/bug
Something isn't working
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
This issue was observed while searching for a workaround for a this issue in sylva project: https://gitlab.com/sylva-projects/sylva-core/-/issues/1412
During a control plane rolling upgrade, once last machine deletions started, we could observe the following rke2controlplane status:
With 3 updatedReplicas, whereas we would observe following controlplane machines at that time:
The status is set here, but
UpToDateMachines relies on MachinesNeedingRollout that is not taking into account machines being deleted, which results in a inaccurate result as a machine being rolled out shouldn't be considered as up-to-date.
The text was updated successfully, but these errors were encountered: