Skip to content

[inttest] containerd v1 to v2 live migration#7350

Open
juanluisvaladas wants to merge 1 commit intok0sproject:mainfrom
juanluisvaladas:test-containerd-upgrade
Open

[inttest] containerd v1 to v2 live migration#7350
juanluisvaladas wants to merge 1 commit intok0sproject:mainfrom
juanluisvaladas:test-containerd-upgrade

Conversation

@juanluisvaladas
Copy link
Copy Markdown
Contributor

Description

Implement a test that verifies that the transition between containerd v1 and v2 can be done without restarting pods.

Fixes #7348

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual test
  • Auto test added

Checklist

  • My code follows the style guidelines of this project
  • My commit messages are signed-off
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@juanluisvaladas juanluisvaladas force-pushed the test-containerd-upgrade branch from e30ece6 to 388afba Compare March 26, 2026 13:18
@juanluisvaladas juanluisvaladas marked this pull request as ready for review March 26, 2026 15:15
@juanluisvaladas juanluisvaladas requested review from a team as code owners March 26, 2026 15:15
@juanluisvaladas juanluisvaladas force-pushed the test-containerd-upgrade branch from 388afba to ae054be Compare March 26, 2026 15:15
@juanluisvaladas juanluisvaladas requested a review from a team as a code owner March 26, 2026 15:15
@juanluisvaladas juanluisvaladas requested a review from ncopa March 26, 2026 15:15
@juanluisvaladas juanluisvaladas requested a review from a team as a code owner March 26, 2026 15:15
@juanluisvaladas juanluisvaladas requested a review from kke March 26, 2026 15:15
Copy link
Copy Markdown
Member

@jnummelin jnummelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could probably re-use quite a bit from https://github.com/k0sproject/version for the version stuff

Implement a test that verifies that the transition between containerd v1
and v2 can be done without restarting pods.

Fixes k0sproject#7348

Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <juanluisvaladas@users.noreply.github.com>
@juanluisvaladas juanluisvaladas force-pushed the test-containerd-upgrade branch from ae054be to 0c7e63a Compare March 30, 2026 13:41
@juanluisvaladas
Copy link
Copy Markdown
Contributor Author

You're right, it does simplify the code a bit and it also handles the a potential k0s.N version .

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test the "live migration" case where containerd 1.7 containers are left running for the upgrade

2 participants