-
Story
-
Resolution: Done
-
Critical
-
None
-
None
-
Upstream
-
2
-
False
-
None
-
False
-
OCPSTRAT-330 - [Upstream] OpenShift AutoScaler TechDebt (Phase 3)
-
-
-
CLOUD Sprint 243, CLOUD Sprint 244
User Story
As a developer I want to have a consistent way to apply the scale from zero annotations so that it is easier to update the various provider machineset actuators. Having a utility module in the MAO will make this easier by providing a single place for all the MachineSet actuators to share.
Background
Currently the individual provider MachineSet actuators each contain string variables and independent implementations of the scale from zero annotations. This configuration is more brittle than having a central module which could be utilized by all the providers.
Steps
- Create a scale from zero utility module in MAO that contains both the upstream and downstream scale from zero annotations.
- Add convenience functions for checking, adding, and updating the MachineSet annotations.
- Add unit tests for any functions with conditional logic
Stakeholders
- openshift cloud team
Definition of Done
- Module exists in MAO with tests and can be imported by providers
- Docs
- developer docs should be updated in MAO
- Testing
- Most of the functions in this chage should be getter/setter types, but if conditional functions are introduced then we should have unit tests to exercise them.
- blocks
-
OCPCLOUD-2146 Revert annotation carry patch for autoscaler
- To Do
-
OCPCLOUD-2139 Update MAPI AWS MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2140 Update MAPI Azure MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2141 Update MAPI GCP MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2142 Update MAPI OpenStack MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2143 Update MAPI vSphere MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2144 Update MAPI Nutanix MachineSet actuator to use scale from zero annotation module
- Closed
-
OCPCLOUD-2145 Update MAPI IBMCloud MachineSet actuator to use scale from zero annotation module
- Closed
- links to