Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Require up-to-date cluster-api images for OpenStack #569

Open
mxmxchere opened this issue Apr 18, 2024 · 2 comments · May be fixed by #582
Open

[Feature Request] Require up-to-date cluster-api images for OpenStack #569

mxmxchere opened this issue Apr 18, 2024 · 2 comments · May be fixed by #582
Assignees
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling enhancement New feature or request IaaS Issues or pull requests relevant for Team1: IaaS needs refinement User stories that need to be refined for further progress SCS is standardized SCS is standardized standards Issues / ADR / pull requests relevant for standardization & certification

Comments

@mxmxchere
Copy link
Contributor

mxmxchere commented Apr 18, 2024

The problem that brings us here is how to update and keep track with upstream kubernetes versions when using the cluster-stacks approach on OpenStack. As the SCS K8S Version Policy formulates, SCS is quite eager to keep track with the upstream work and does not want to fall behind:

We want to achieve an up-to-date policy, meaning that providers should be mostly in sync with the upstream and don't fall behind the official Kubernetes releases.

We came up with two solutions that are described in today's container minutes

In short the two Options are:
A.) Mandate the CSP to keep cluster-api Images up-to-date, then the kaas-user can choose the kubernetes version by setting it in the cluster-resource.

B.) Use CSCTL to creates a new cluster-stack for each new kubernetes version, release it (automation is still needed here), change cluster-Stack-CRD (for each tenant) to reconcile the new clusterstack (creating a new clusterclass), let the CSPO upload the new image to OpenStack (for each tenant). Then the user can update the cluster resource (either the clusterclass, which in turn uses a new hardcoded image and/or the kubernetes version either automatically or via a webhook.)

If i understand scs-0104-v1-standard-images correctly we currently can not require a class of images:

If the status is mandatory, then at least one image MUST be present whose name matches the regular expression given via name_scheme.

We would need to change "at least one image" to "all images". Afterwards we could mandate the class of Cluster-API images to be updated.

Any thoughts / ideas / feedback appreciated @jschoone @garloff

@mxmxchere mxmxchere added enhancement New feature or request IaaS Issues or pull requests relevant for Team1: IaaS Container Issues or pull requests relevant for Team 2: Container Infra and Tooling needs refinement User stories that need to be refined for further progress standards Issues / ADR / pull requests relevant for standardization & certification SCS is standardized SCS is standardized labels Apr 18, 2024
@mxmxchere mxmxchere self-assigned this Apr 18, 2024
@berendt
Copy link
Member

berendt commented Apr 18, 2024

For A: We provide up-to-date images here: https://github.com/osism/k8s-capi-images and also added a OSISM CLI command (osism manage image clusterapi) to have a way a CSP can provide the images in no time. Optional image definitions for the openstack-image-manager are also available.

@jschoone
Copy link
Contributor

Hi @mbuechse, I put this on the agenda of the next SIG Standardization. Does it fit?

@mxmxchere mxmxchere linked a pull request May 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling enhancement New feature or request IaaS Issues or pull requests relevant for Team1: IaaS needs refinement User stories that need to be refined for further progress SCS is standardized SCS is standardized standards Issues / ADR / pull requests relevant for standardization & certification
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants