Repository navigation
time to update cri-tools to v1.37.0 - #14133
Conversation
There was a problem hiding this comment.
🟢 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-toolsversion fromv1.36.0tov1.37.0in the shared version file. - Update the Windows environment preparation script to download
crictlv1.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.
|
• [FAILED] [0.413 seconds] 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 |
|
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 |
Signed-off-by: Mike Brown <[email protected]>
Signed-off-by: Mike Brown <[email protected]>
b8e5f82 to
5c95700
Compare
There was a problem hiding this comment.
🟡 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
There was a problem hiding this comment.
🟢 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
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