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

feat: add containerd 2.0 to azureLinux 3.0 #5510

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

liunan-ms
Copy link
Contributor

What type of PR is this?

What this PR does / why we need it:
As part of supporting containerd 2.0 in AKS 1.32, AzureLinux has built containerd 2 package and is releasing the new package, this PR is to make containerd 2.0 the default for all AzureLinux 3.0 nodes (regardless k8s version).

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@@ -0,0 +1,35 @@
[Unit]
Description=Kubelet
Copy link
Collaborator

Choose a reason for hiding this comment

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

curious where this test data is coming from...

Copy link
Contributor Author

@liunan-ms liunan-ms Jan 7, 2025

Choose a reason for hiding this comment

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

It is auto-generated by running make, otherwise the Go Unit Tests cannot pass in the checks. I also see failed e2e tests on Ubuntu 2404: https://msazure.visualstudio.com/CloudNativeCompute/_build/results?buildId=111837790&view=ms.vss-test-web.build-test-results-tab&runId=1909463657&resultId=100056&paneView=debug, but it seems unrelated to my change, do you have idea on it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

another PR was just merged which solves this, sorry for the confusion - feel free to rebase against dev to pick up the changes

Copy link
Member

Choose a reason for hiding this comment

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

yeah i forgot to include those generated files from my last change. sorry about that

@@ -133,7 +133,10 @@ installStandaloneContainerd() {
if [[ $OS_VERSION == "2.0" ]]; then
containerdPackageName="moby-containerd-${desiredVersion}"
fi

if [[ $OS_VERSION == "3.0" ]]; then
containerdPackageName="containerd2-${desiredVersion}"
Copy link
Member

Choose a reason for hiding this comment

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

curious about the package name though. should that be moby-containerd?

Copy link
Member

Choose a reason for hiding this comment

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

just to speak it out loud that we assume that azurelinux is only going to use containerd2 .. and not supporting 1.x versions even if the k8s version does not meet 1.32

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Azure Linux 3.0 will use the new containerd2 package which is already available in the preview repo in PMC now and will be published to prod repo soon. And yes, containerd 2.0 will be default for all Azure Linux 3.0 images regardless the k8s 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.

3 participants