Skip to content

time to update cri-tools to v1.37.0 - #14133

Merged
fuweid merged 2 commits into
containerd:mainfrom
mikebrow:update-cri-tools-to-v1.37.0
Sep 9, 2026
Merged

fuweid merged 2 commits into
containerd:mainfrom
mikebrow:update-cri-tools-to-v1.37.0

Conversation

@mikebrow

@mikebrow mikebrow commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

first commit: cri-tools is updated to v1.37.0, so time to pull it in

second commit: cri-tools added new list podsandbox metrics tests that do not pass when running on cgroups v1 because we "omitted" the container thread count as shown on cgroups v2

@mikebrow mikebrow added this to the 2.4 milestone Sep 8, 2026
Copilot AI lite review requested due to automatic review settings September 8, 2026 21:54
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Sep 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a straightforward version bump with minimal surface area and no functional logic changes beyond updating pinned inputs.

Pull request overview

Updates the pinned cri-tools/crictl version used by setup scripts to keep the Windows environment and CI tooling aligned with the newer upstream release.

Changes:

  • Bump cri-tools version from v1.36.0 to v1.37.0 in the shared version file.
  • Update the Windows environment preparation script to download crictl v1.37.0.
File summaries
File Description
script/setup/prepare_env_windows.ps1 Updates the Windows crictl download URL to v1.37.0.
script/setup/critools-version Bumps the pinned cri-tools version to v1.37.0.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread script/setup/prepare_env_windows.ps1 Resolved
@dmcgowan dmcgowan moved this from Needs Triage to Review In Progress in Pull Request Review Sep 9, 2026

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@mikebrow mikebrow added the area/cri Container Runtime Interface (CRI) label Sep 9, 2026
@mikebrow

mikebrow commented Sep 9, 2026 •

Copy link
Copy Markdown
Member Author

• [FAILED] [0.413 seconds]
[k8s.io] PodSandbox runtime should support metrics operations [It] runtime should support listing pod sandbox metrics [Conformance]
sigs.k8s.io/cri-tools/pkg/validate/pod.go:268

checked and this is a new test case.. but it passed last week over in cri-tools when running against our main branch on ubuntu

not sure what is different about almalinux-8 that might be failing this new test.. works on -9 and -10 @AkihiroSuda do we need -8?

noting: https://wiki.almalinux.org/release-notes/#almalinux-os-8 is no longer in active support

@mikebrow

mikebrow commented Sep 9, 2026 •

Copy link
Copy Markdown
Member Author

a little more investigation:

AlmaLinux 8 runs cgroups v1 by default, AlmaLinux 9/10 and newer Ubuntu distros run cgroups v2...

we could patch case stats.v1 in internal/cri/server/list_pod_sandbox_metrics_linux.go

testing an additional commit to correct the issue

and rebasing

Copilot AI review requested due to automatic review settings September 9, 2026 16:45
@kubernetes-prow kubernetes-prow Bot added size/S and removed size/XS labels Sep 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

It introduces a potentially misleading metrics API behavior (container_threads duplicates container_processes) and keeps the Windows cri-tools version hardcoded instead of using the shared version pin.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

script/setup/prepare_env_windows.ps1:52

  • The cri-tools version is still hardcoded into the Windows download URL, which can drift from the canonical version stored in script/setup/critools-version (used by script/setup/install-critools and .github/workflows/ci.yml). Consider reading the version from the shared file and interpolating it into the URL so updates only need to touch one place.
$CRICTL_DOWNLOAD_URL="https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.37.0/crictl-v1.37.0-windows-amd64.tar.gz"
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 9, 2026 16:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes are narrowly scoped version bumps plus a straightforward metric emission addition with no evident correctness or compatibility regression in the reviewed diffs.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@mikebrow

mikebrow commented Sep 9, 2026

Copy link
Copy Markdown
Member Author

cc @akhilerm @dmcgowan pls re-review to cover the 2nd commit

@fuweid
fuweid added this pull request to the merge queue Sep 9, 2026
Merged via the queue into containerd:main with commit e3119ce Sep 9, 2026
55 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI) size/S

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

7 participants