[CPDEV-107540] Add Ubuntu 24.04 support #699
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
It's necessary to support Ubuntu 24.04 lts.
Fixes # (issue)
CPDEV-107335
#698
Solution
Ubuntu 24.04 has containerd v1.7.12 by default, so this version of containerd is added as default for the most recent patch versions of 1.29, 1.30, 1.31 k8s (v1.29.7, v1.30.3, v1.31.1) working on
debian
os_family (Ubuntu 20.04, 22.04, 24.04).How to apply
Run
kubemarine migrate_kubemarine
.Test Cases
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Deploy recent k8s at ubuntu 24.04.1 hosts.
ER: cluster is deployed successfully.
At an existing k8s of v1.29.7, v1.30.3 or v1.31.1 version at Ubuntu nodes run
migrate_kubemarine
procedure.ER: cluster nodes have containerd v1.7.*.
Upgrade existing cluster at Ubuntu nodes to k8s v1.29.7, v1.30.3 or v1.31.1.
ER: upgrade finishes successfully, cluster nodes have containerd v1.7.*.
Checklist
Unit tests
Indicate new or changed unit tests and what they do, if any.