SovereignCloudStack / issues

This repository is used for issues that are cross-repository or not bound to a specific repository.
https://github.com/orgs/SovereignCloudStack/projects/6
2 stars 1 forks source link

Proposal: Cluster Flavors #476

Open mxmxchere opened 8 months ago

mxmxchere commented 8 months ago

Openstacks Instance flavors define immutable (to the best of my knowledge) aspects and capabilities of an openstack instance such as CPU, Disk, GPU, memory...

Analog to Openstack Instance Flavors we could introduce "Cluster flavors" which control certain aspects of a cluster that are immutable once it is created. I think it is easiest to explain that with an example. We have two Cluster flavors named "dev" and "prod"

prod flavor

Clusters of the cluster flavor prod get deployed with three controlplane nodes and it is taken care that these nodes are scheduled on different hypervisors. Those clusters take longer to deploy, are more robust but are more expensive for the customer.

dev flavor

Clusters of the Cluster flavor dev get a controlplane that is managed by kamaji on a shared controlplane hosting cluster. The cluster is ready quicker, is not as robust as the prod flavor but costs less and uses fewer resources.


janiskemper commented 7 months ago

Thanks @mxmxchere for this proposal! I want to make a comment on Cluster Stacks vs ClusterClasses, because you proposed to use ClusterClasses but said that Cluster Stacks are not flexible with regards to Kubernetes version.

The Cluster Stacks use ClusterClasses under the hood and just package all objects together and all the configuration that is needed for the Kubernetes update. It therefore extends ClusterClasses and gives the same flexibility in terms of upgrading Kubernetes versions.

If you have doubts, feel free to raise a topic e.g. in the container meeting!

cah-hbaum commented 6 months ago

https://github.com/SovereignCloudStack/issues/issues/421#issuecomment-1880963267 Just to also have this comment from the parent issue linked here.