Repository navigation
test(e2e): one kind pin for every e2e surface (#1251) - #1259
Merged
Merged
Conversation
bpalermo
marked this pull request as ready for review
October 5, 2026 14:16
bpalermo
force-pushed
the
upgrade/kind-pin-1251
branch
from
October 5, 2026 15:30
744b4d0 to
cf49332
Compare
e2e/kind-version.sh is the single source of truth for the kind binary
(v0.33.0), the node image with digest (kindest/node:v1.35.8@sha256:07b2...)
and kubectl (v1.35.8), in the e2e/etcd-image.sh style.
- The seven harnesses that create a kind cluster (eastwest-quic, l4routes,
multicluster_{config,replicator,waypoint}, uds, uds-csi) source it and pass
--image "$KIND_NODE_IMAGE", so the script-driven nightly suites stop running
the runner's default image (1.37) and a local run stops running whatever the
local kind defaults to.
- kind_require_binary refuses a kind binary OLDER than the pin (it can fail to
boot a node image built by a newer release, minutes later and far from the
cause) and only warns about a newer one; KIND_ALLOW_SKEW=1 overrides.
- //e2e:kind_pin_test (hermetic sh_test, in the default //... set) fails when
test/e2e/testdata/kind-config.yaml, any kindest/node literal, or any
helm/kind-action version / kubectl_version / node_image in a workflow or
composite action disagrees with the pin, or when a harness creates a cluster
without the pinned --image.
- docs/runbook.md "Bumping the e2e Kubernetes version": the one-place bump.
Closes #1251
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
upgrade/kind-pin-1251
branch
from
October 5, 2026 16:02
cf49332 to
c267be5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 1/3 (#1259 → #1261 → #1262). Closes #1251.
What
e2e/kind-version.shis the one place Kubernetes is set for every kind e2e surface, in thee2e/etcd-image.shstyle (sourced, plain assignments):The values are the ones #1246 pinned. They are not changed here.
The seven harnesses that create a kind cluster (
eastwest-quic,l4routes,multicluster_{config,replicator,waypoint},uds,uds-csi) source the file and runkind create cluster --image "$KIND_NODE_IMAGE" --config …. The script-driven nightly jobs stop running the runner's default image (1.37). A local run stops running whatever the local kind defaults to.Local kind binary check: refuse older, warn newer.
kind_require_binaryruns beforekind create cluster.KIND_VERSION. A node image is built for one kind release, and an older kind can fail to boot it minutes later, far from the cause.KIND_ALLOW_SKEW=1downgrades the refusal to a warning.KIND_NODE_IMAGE=<image>overrides the image for one run.up. Install the pinned kind withgo install sigs.k8s.io/[email protected].//e2e:kind_pin_testis a hermeticsh_testin the defaultbazel test //...set. It fails when:vX.Y.Z, the image notkindest/node:<kubectl version>@sha256:<64 hex>;test/e2e/testdata/kind-config.yamlnames a different image, or a node has no image;kindest/node:literal in a workflow, composite action, harness or e2e kind config differs from the pin;helm/kind-actionstep pins a differentversionorkubectl_version, or a cluster-creating step leavesnode_imageunpinned;--image "$KIND_NODE_IMAGE".The workflows reach the test through a new
//:ci_definitionsfilegroup, and the kind config through anexports_files.Docs:
docs/runbook.mdhas a new section, "Bumping the e2e Kubernetes version", ande2e/README.mdhas one paragraph.Proof
bazel test //e2e:kind_pin_testpasses. Mutation-checked: I changedkubectl_versionin ci.yaml, dropped a conformancenode_image, set the kind-config image to 1.37, removed--imagefromuds.sh, and removed the source line froml4routes.sh. Each change produced its own FAIL line.kind_require_binarywas exercised locally against kind v0.31.0: refused, then allowed withKIND_ALLOW_SKEW=1, then warned with a newer pin, then passed when equal.bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...is clean, as ismake format-check.//website:site_testpasses.e2e.yaml); results are in that PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr