airshipit / treasuremap

Reference Airship manifests, CICD, and reference architecture.
http://openstack.org
Apache License 2.0
52 stars 39 forks source link

Provide way to define/override Vino sub-cluster VM flavor definitions & apply to STL3 #170

Open eak13 opened 3 years ago

eak13 commented 3 years ago

Sub-cluster VM flavors are defined in https://github.com/airshipit/vino/blob/master/config/manager/flavors.yaml for ViNO to use when creating the sub-cluster VMs. We need the ability to define/override the control plane & worker flavor settings at least at a type level within Treasuremap and then have them consumed by ViNO at sub-cluster creation time.

Specifically for STL3, we need the following configurations: image

Tasks: 1) Provide manifests/template where user can define control plane & work node VM definitions based on https://github.com/airshipit/vino/blob/master/config/manager/flavors.yaml. At a minimum, this will be needed for the multi-tenant type. 2) Provide a mechanism for passing the VM definitions to ViNO to be used in defining the sub-cluster VMs 3) Validate ViNO defines the sub-cluster VMs using the specified flavors in STL3

drewwalters96 commented 3 years ago

Ready for review: https://review.opendev.org/c/airship/treasuremap/+/795187

drewwalters96 commented 3 years ago

The current approach will work with the new version of ViNO. This change is ready for review but has been rebased on Kostiantyn's uplift PS: https://review.opendev.org/c/airship/treasuremap/+/796014