-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
2
-
False
-
None
-
False
-
OCPPLAN-9749 - Control Plane Scaling and Recovery (IPI clusters only) - Phase 0
-
CLOUD Sprint 217, CLOUD Sprint 218, CLOUD Sprint 221
Background
Once the MachineProvider has provided MachineInfo, we need to observe the MachineInfo and calculate the status based upon this.
Once this has been calculated, the status needs to be patched.
The status management should all be implemented here and there are existing test outlines for the reconciliation here.
Steps
- Review the tests cases and function description to understand what the expected behaviour is
- Implement the behaviour of the function based on prescribed behaviour in the tests
- Ensure linting passes (make lint) and think about the code layout, it is clean?
- Consider any additional tests that may need to be added
- Ensure tests are added for updateControlPlaneMachineSetStatus which does not currently have any tests
Stakeholders
- Cluster Infra (Joel)
Definition of Done
- The status of the ControlPlaneMachineSet is updated based on the output of the MachineInfos
- Docs
- N/A
- Testing
- Existing unit tests should pass, new tests should be added for the updateControlPlaneMachineSet function (ensure that when passed a CPMS with a different status, this gets updated on the API, when there are no changes, it does not apply the changes)