Skip to content

chores: bump kind and k8s versions - #420

Open
GrigoryPervakov wants to merge 1 commit into
mainfrom
ci/latest-kind-k8s
Open

GrigoryPervakov wants to merge 1 commit into
mainfrom
ci/latest-kind-k8s

Conversation

@GrigoryPervakov

@GrigoryPervakov GrigoryPervakov commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

What

Bump kind and k8s images in e2e tests to the latest versions


Note

Medium Risk
Raises the Kubernetes version under test for most CI matrix legs, which can surface new API or scheduling failures unrelated to application code.

Overview
CI Kind-based e2e and compat-e2e jobs now use Kind v0.33.0 and a shared default KinD node image v1.37.0, defined as K8S_LATEST in ci/jobs/kind_env.py with a note to bump it alongside KIND_VERSION.

E2E shards and the e2e driver no longer hardcode v1.34.3; they read K8S_LATEST when K8S_IMAGE is unset. Compat-e2e matrix rows that previously pinned v1.36.1, v1.30.13, or shard-specific tags now pass K8S_LATEST instead. The minimal-k8s variant still uses v1.28.15 for the old-cluster coverage case.

Reviewed by Cursor Bugbot for commit f66357e. Bugbot is set up for automated code reviews on this repo. Configure here.


Workflow [PR]

@clickhouse-operator

clickhouse-operator Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Workflow [PR], commit [f66357e]

Summary: ❌

job_name test_name status info comment
Compat E2E (operator-upgrade) FAIL
deploy suite :: [It] Operator upgrade should reconcile cluster after upgrade without data loss [upgrade] FAIL

Code Review

Result: ⚠️ Issues found

What changed: Updates Kind to v0.33.0 and centralizes the latest Kind node image as Kubernetes v1.37.0. E2E shards and most compatibility-test variants now use that shared image, while the minimal-Kubernetes variant remains pinned to v1.28.15.

Version compatibility

  • The Kubernetes node image is advanced to v1.37.0, but the shared test environment still installs kubectl v1.31.1. This leaves every affected E2E job using a client six minor releases behind its API server, outside Kubernetes' supported kubectl version skew. Since compatibility tests directly invoke kubectl for deployment and OLM operations, the kubectl pin should be advanced alongside the server image.

Investigation: 4/13 rounds, 19 tool calls.

Comment thread ci/jobs/kind_env.py
KIND_VERSION = "v0.32.0"
KIND_VERSION = "v0.33.0"
# Default node image of KIND_VERSION; bump both together.
K8S_LATEST = "v1.37.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please also update KUBECTL_VERSION when moving the test clusters to v1.37.0. It remains v1.31.1 below, so these jobs will run a kubectl client six minor releases behind the API server, outside the supported ±1-minor skew. The compat suites directly use kubectl for apply/create and OLM operations, so failures could come from the stale client rather than the operator under test.

@security-ai-gate-reviewer

Copy link
Copy Markdown

AI review gate — auto-approved

f66357efef00 is approved by security-ai-gate-reviewer[bot], an automated identity, not a human. The approval stands on the required AI review: Cursor Bugbot concluded green on this commit and the AI review gate is SUCCESS (its own comment has the verdict), and the change touches no path that requires a human reviewer. It covers this diff only: after a push that changes it, the approver evaluates the new head and approves it only if it is green.

History (latest 5 heads, newest first)

  • f66357efef00 approved — green: Cursor Bugbot

This branch has not been deployed

No deployments
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.

1 participant