You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In issue #190 we learn that OpenShift is using IaaS flavor names as k8s annotations (taints or tolerations?).
This means that in order for OpenShift to run well on SCS IaaS, adjustments need to be made.
At this point, OpenShift is the only tool known to us that imposes such restrictions on IaaS choices, but we need to watch out for other restrictions that may come down from tools in the k8s world.
Assuming that we need to adjust our own flavor spec, thus following option 3 in #190 (comment), we have a few options:
3a) We make an easy transformation: e.g. SCS-2V:8:20s-GNa:64 to SCS-2V_8_20s_GNa_64 (s/:/_/g) or SCS-2V-8-20s_GNa-64 (sed -e 's/-/_/g' -e 's/:/-/g' -e 's/^SCS_/SCS-/') (2vCPU, 8Gib RAM, 20GB SSD, passthrough GPU nVidia Ampere with 64 SMs)
3b) We reevaluate our approach to systematic flavor naming, resulting in a new schema that can not be easily machine-translated.
The transition will be painful for existing providers and customers. In any case a transition strategy will need to be implemented, with transition periods, where the old flavor names will still be accepted (e.g. by being translated or by offering flavors under both new and old name).
The advantage of 3a is that we can easily machine-translate, so user settings/automation can be easily adjusted. We could even translate at the API interface to make things smoother.
Notes: Just translating : with - would result in SCS-2V-8-20s-GNa-64 which is harder to parse, as the 64SMs do belong to the GPU described before, but the syntax no longer reflects this. I would want to avoid this.
I prefer the sed -e 's/-/_/g' -e 's/:/-/g' -e 's/^SCS_/SCS-/' appproach:
Machine translatable and no need to restart the discussion on our (naming strategy)[]
The simple flavors (which we will see in 95%+ of the cases) don't have underscores, which are somewhat ugly to my eyes.
The mandatory flavors will just read SCS-1V-4-10, SCS-2V-8-20 etc. As soon as we use extensions (GPU, Infiniband, indicating HW virt or specific CPU types), we would see them separated by an underscore, e.g. SCS-14C-128-240s_bms_i3h_ib for a bare metal flavor with high-perf (>2.75GHz all-core) intel IceLake server CPU with Infiniband.
Activity
garloff commentedon Jan 26, 2023
Notes: Just translating
:with-would result inSCS-2V-8-20s-GNa-64which is harder to parse, as the 64SMs do belong to the GPU described before, but the syntax no longer reflects this. I would want to avoid this.garloff commentedon Jan 26, 2023
I prefer the
sed -e 's/-/_/g' -e 's/:/-/g' -e 's/^SCS_/SCS-/'appproach:The mandatory flavors will just read
SCS-1V-4-10,SCS-2V-8-20etc. As soon as we use extensions (GPU, Infiniband, indicating HW virt or specific CPU types), we would see them separated by an underscore, e.g.SCS-14C-128-240s_bms_i3h_ibfor a bare metal flavor with high-perf (>2.75GHz all-core) intel IceLake server CPU with Infiniband.Comments welcome!
[-]Flavor naming adjustment consideration[/-][+]Flavor naming adjustment considerations[/+]garloff commentedon Feb 22, 2023
Decision taken by merging #226.