Skip to content

Bump runc to 1.3.3 and containerd to 2.1.5 in main - #3472

Merged
krnowak merged 3 commits into
mainfrom
krnowak/main-runc-containerd
Nov 7, 2025
Merged

Bump runc to 1.3.3 and containerd to 2.1.5 in main#3472
krnowak merged 3 commits into
mainfrom
krnowak/main-runc-containerd

Conversation

@krnowak

@krnowak krnowak commented Nov 7, 2025

Copy link
Copy Markdown
Member
  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

It's from Gentoo commit b4c450b220406a895ed093b19b92241746408a66.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This is a hack - the ebuild will disappear on next weekly updates,
unless Gentoo gets the 2.1.5 ebuild by then.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
@krnowak
krnowak force-pushed the krnowak/main-runc-containerd branch from 8b79758 to d50f08e Compare November 7, 2025 14:37
@krnowak

krnowak commented Nov 7, 2025

Copy link
Copy Markdown
Member Author

Tested by building them locally.

@github-actions

github-actions Bot commented Nov 7, 2025

Copy link
Copy Markdown

Build action triggered: https://github.com/flatcar/scripts/actions/runs/19171756331

@krnowak
krnowak merged commit 06f3ae5 into main Nov 7, 2025
4 of 5 checks passed
@github-project-automation github-project-automation Bot moved this from ✅ Testing / in Review to Implemented in Flatcar tactical, release planning, and roadmap Nov 7, 2025
@krnowak
krnowak deleted the krnowak/main-runc-containerd branch November 7, 2025 15:31
@hakman

hakman commented Dec 2, 2025

Copy link
Copy Markdown

@krnowak @chewi do you have any hint when this change will reach stable?

@tormath1

tormath1 commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

@krnowak @chewi do you have any hint when this change will reach stable?

Hello @hakman, are you looking for containerd 2.1.5 in particular? Because runc-1.3.3 update is available on current stable (4459.2.0 and 4459.2.1)

@hakman

hakman commented Dec 2, 2025

Copy link
Copy Markdown

@tormath1 I am looking for the contained update. I need to use the image volumes feature that is only available in 2.1.

@tormath1

tormath1 commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

@tormath1 I am looking for the contained update. I need to use the image volumes feature that is only available in 2.1.

Understood. New major stable has been relased in Nov. so we're planning to have it around for a while (5 to 6 months) to let folks use containerd v2.0.x and provide any additional feedback on this container runtime upgrade (cc @sayanchowdhury to confirm).

In the meantime, you can:

@hakman

hakman commented Dec 2, 2025

Copy link
Copy Markdown

Thanks for the advice, I was just asking to know what to communicate to our users that are hitting this, see kubernetes/kops#17780.

Not sure I understand what you mean. containerd 2.1 is stable and it was released 6 months ago. With the release of contained 2.2 and has not become the previous stable. Generally speaking, Kubernetes works best with newer containerd versions, as this is what it's tested against.

@tormath1

tormath1 commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

@hakman thanks for providing more context here with the kops issue!

containerd 2.1 is stable and it was released 6 months ago.

We usually rely on Gentoo folks to upgrade containerd packages and/or security concerns (like this current PR). This is a trade-off between security and stability: we don't want to introduce new packages (especially container runtimes) to Stable without going through the stabilization process (alpha -> beta -> stable) to ensure users workloads stability.

Generally speaking, Kubernetes works best with newer containerd versions, as this is what it's tested against.

FWIW Flatcar is running automated tests against current Kubernetes major versions (at this time 1.32, 1.33 and 1.34). We could investigated on extending our test suite to run kops tests but it seems you're already testing Flatcar in kops CI?

@hakman

hakman commented Dec 2, 2025

Copy link
Copy Markdown

Thanks for the detailed explanation @tormath1, much appreciated.
kOps is running CI tests against Flatcar, but only informing. We could probably pull the official binaries for runc and containerd, but until now there were no features that we missed.
Btw, are you running the full CI, or just the conformance?

@tormath1

tormath1 commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

@hakman ok, I understand. We are discussing about enabling back our automation to quickly catch-up on newer containerd releases.
For the CI, we have our own test suite that spawns kubernetes clusters with multiple version with multiple CNIs with multiple scenarios, we don't rely on the Kubernetes CI. :)

So now, to get back on the initial issue, I only see the two options mentioned above:

I never tried kOps, so I don't really know how the second option could apply.

@hakman

hakman commented Dec 3, 2025

Copy link
Copy Markdown

Thanks @tormath1, I appreciate the effort and the insights.
Beta release should be good enough for now, we are already using Alpha in our tests and works fine, so I am confident Beta will be good as well.
I will try to provide a workaround on our end, so Flatcar users should not be blocked when upgrading.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants