Skip to content

Flavor naming adjustment considerations #192

Closed

Description

@garloff

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.

Activity

  1. garloff commented on Jan 26, 2023

    @garloff
    MemberAuthor

    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.

  2. garloff commented on Jan 26, 2023

    @garloff
    MemberAuthor

    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.

    Comments welcome!

  3. changed the title [-]Flavor naming adjustment consideration[/-] [+]Flavor naming adjustment considerations[/+] on Jan 26, 2023
  4. added
    IaaS
    standards
    on Jan 26, 2023
  5. garloff commented on Feb 22, 2023

    @garloff
    MemberAuthor

    Decision taken by merging #226.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    IaaSstandards

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions