Skip to content

Conversation

@fgksgf
Copy link
Member

@fgksgf fgksgf commented Jan 27, 2026

Summary

  • Upgrade kind dependency from v0.20.0 to v0.27.0 to fix the import-images feature failing with "failed to detect containerd snapshotter" error when using newer kindest/node images (v1.32+) that use containerd v2.0
  • Add E2E test case to verify import-images functionality works correctly

Changes

Dependency upgrade

The outdated kind library (v0.20.0) couldn't properly detect containerd 2.0's snapshotter. Upgrading to kind v0.27.0 resolves this issue as it includes the fix from kubernetes-sigs/kind#3853.

E2E test

  • Add test/e2e/kind/ directory with KinD cluster config, test pod, and expected result
  • Add make e2e-test-kind target for local testing
  • Update CI workflow to run KinD E2E test

The import-images feature was failing with "failed to detect containerd
snapshotter" error when using newer kindest/node images (v1.32+) that
use containerd v2.0. This was caused by the outdated kind library
(v0.20.0) which couldn't properly detect containerd 2.0's snapshotter.

Upgrading to kind v0.27.0 resolves this issue as it includes the fix
from kubernetes-sigs/kind#3853.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the kind Go dependency to support containerd v2.0 snapshotter detection and adds a KinD-based E2E test to validate import-images.

Changes:

  • Bump sigs.k8s.io/kind to v0.27.0 (and update related Go module dependencies).
  • Add a new KinD E2E test suite under test/e2e/kind/ to validate import-images.
  • Add make e2e-test-kind and extend CI workflow to run the KinD E2E test.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
go.mod Upgrades kind to v0.27.0 and refreshes related dependencies.
go.sum Updates checksums for new/updated module versions.
test/e2e/kind/kind-cluster.yaml Adds KinD cluster config used by the new E2E test.
test/e2e/kind/e2e.yaml Defines the KinD E2E scenario including import-images.
test/e2e/kind/deployment.yaml Test Pod manifest used to validate the imported image runs.
test/e2e/kind/expected.yaml Expected output for the verification step.
test/e2e/README.md Documents the new KinD E2E test directory and make target.
Makefile Adds e2e-test-kind target for running the KinD E2E locally.
.github/workflows/e2e-test.yaml Adds steps to run the KinD E2E test in CI (and installs KinD CLI).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Verify that the import-images feature works correctly after upgrading
kind dependency to v0.27.0.

- Add test/e2e/kind/ with KinD cluster config, test pod, and expected result
- Add e2e-test-kind target in Makefile for local testing
- Update CI workflow to run KinD E2E test
- Update test/e2e/README.md with new directory structure
@fgksgf fgksgf force-pushed the fix/import-images branch from db2a3e1 to 691dbc1 Compare January 27, 2026 04:01
@fgksgf fgksgf requested a review from kezhenxu94 January 27, 2026 04:01
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

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

Thank

@wu-sheng wu-sheng merged commit d9a956d into main Jan 27, 2026
1 check passed
@wu-sheng wu-sheng deleted the fix/import-images branch January 27, 2026 04:55
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