-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
5
-
None
-
None
-
None
User Story:
As an Azure user, I want my installs to automatically use free Azure images, so that installs are much quicker.
Acceptance Criteria:
Description of criteria:
- Free marketplace image is read from rhcos stream
- Cluster is installed using that image by default
- OKD continues with image upload (for now)
(optional) Out of Scope:
Detail about what is specifically not being delivered in the story
Engineering Details:
- RHCOS asset for azure is set here: https://github.com/openshift/installer/blob/main/pkg/asset/rhcos/image.go#L135-L146
- OSImage is set for CAPI control plane here: https://github.com/openshift/installer/blob/main/pkg/asset/machines/azure/azuremachines.go#L63-L91
- For MAPI, here: https://github.com/openshift/installer/blob/main/pkg/asset/machines/azure/machines.go#L175-L200
- It is possible both the above should be refactored into the RHCOS asset
- Azure image upload is handled here: https://github.com/openshift/installer/blob/main/pkg/infrastructure/azure/azure.go#L259
- This will need to check the rhcos asset (or equivalent). This should be skipped by default, except for okd
Testing Details:
- Testing should be transparent. This will switch the default. Make sure to test GovCloud or MAG or whatever it's called.
This requires/does not require a design proposal.
This requires/does not require a feature gate.