Skip to content

bump k8s to v1.34.5#6366

Merged
zhangzujian merged 2 commits intokubeovn:release-1.15from
zhangzujian:release-1.15
Mar 2, 2026
Merged

bump k8s to v1.34.5#6366
zhangzujian merged 2 commits intokubeovn:release-1.15from
zhangzujian:release-1.15

Conversation

@zhangzujian
Copy link
Copy Markdown
Member

Pull Request

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes

Fixes #(issue-number)

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 1, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a comprehensive update of Kubernetes-related versions and various Go module dependencies across the project. The primary goal is to align the project with the latest stable releases of Kubernetes components and other third-party libraries, ensuring improved stability, security, and access to the most recent features and bug fixes.

Highlights

  • Kubernetes Version Bump: The KUBECTL_VERSION has been updated from v1.34.3 to v1.34.5 in the Dockerfile and related download script, ensuring the use of the latest Kubernetes client tools.
  • Go Module Dependency Updates: Numerous Go modules, including core Kubernetes libraries (k8s.io/api, k8s.io/apimachinery, k8s.io/client-go, etc.), testing frameworks (ginkgo, gomega), gRPC, OpenTelemetry, and other indirect dependencies, have been updated to their latest patch or minor versions to improve stability and security.
  • Makefile Kubernetes Version Alignment: The K8S_VERSION in makefiles/kind.mk was updated from v1.35.0 to v1.35.1, and TALOS_K8S_VERSION in makefiles/talos.mk was updated from 1.34.3 to 1.34.5, aligning the build and test environments with the new Kubernetes versions.
  • Test Module Dependency Synchronization: Dependencies for the test/anp and test/cnp Go modules have also been updated to reflect the broader dependency changes, maintaining consistency across the project's testing infrastructure.
Changelog
  • dist/images/Dockerfile.base
    • Updated KUBECTL_VERSION from v1.34.3 to v1.34.5.
  • dist/images/go-deps/download-go-deps.sh
    • Updated KUBECTL_VERSION from v1.34.3 to v1.34.5.
  • go.mod
    • Updated github.com/onsi/ginkgo/v2 from v2.27.3 to v2.28.0.
    • Updated github.com/onsi/gomega from v1.38.3 to v1.39.1.
    • Updated google.golang.org/grpc from v1.78.0 to v1.79.1.
    • Updated cel.dev/expr from v0.24.0 to v0.25.1.
    • Updated github.com/google/pprof from 20251114195745 to 20260115054156.
    • Updated github.com/grpc-ecosystem/grpc-gateway/v2 from v2.27.3 to v2.28.0.
    • Updated go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from v0.64.0 to v0.65.0.
    • Updated go.opentelemetry.io/otel from v1.39.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlptrace from v1.39.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from v1.39.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/metric from v1.39.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/sdk from v1.39.0 to v1.40.0.
    • Updated go.opentelemetry.io/otel/trace from v1.39.0 to v1.40.0.
    • Updated golang.org/x/exp from 20251209150349 to 20260218203240.
    • Updated google.golang.org/genproto/googleapis/api from 20251202230838 to 20260226221140.
    • Updated google.golang.org/genproto/googleapis/rpc from 20251202230838 to 20260226221140.
    • Updated google.golang.org/protobuf from v1.36.10 to v1.36.11.
    • Updated k8s.io/api from v0.34.3 to v0.35.1.
    • Updated k8s.io/apiextensions-apiserver from v0.34.3 to v0.34.5.
    • Updated k8s.io/apimachinery from v0.34.3 to v0.35.1.
    • Updated k8s.io/apiserver from v0.34.3 to v0.34.5.
    • Updated k8s.io/client-go from v0.34.3 to v0.35.1.
    • Updated k8s.io/kube-aggregator from v0.34.3 to v0.34.5.
    • Updated k8s.io/kubernetes from v1.34.3 to v1.34.5.
    • Updated k8s.io/utils from 20251002143259 to 20260210185600.
    • Updated k8s.io/code-generator from v0.34.3 to v0.34.5.
    • Updated k8s.io/component-base from v0.34.3 to v0.34.5.
    • Updated k8s.io/kube-openapi from v0.34.3 to v0.34.5.
    • Updated sigs.k8s.io/gateway-api from v1.4.1 to v1.5.0.
    • Updated sigs.k8s.io/structured-merge-diff/v6 from v6.3.1 to v6.3.2.
  • go.sum
    • Updated numerous module checksums to reflect dependency version changes.
  • makefiles/kind.mk
    • Updated K8S_VERSION from v1.35.0 to v1.35.1.
  • makefiles/talos.mk
    • Updated TALOS_K8S_VERSION from 1.34.3 to 1.34.5.
  • test/anp/go.mod
    • Updated golang.org/x/mod from v0.31.0 to v0.33.0.
    • Updated k8s.io/apimachinery from v0.34.3 to v0.34.5.
    • Updated k8s.io/client-go from v0.34.3 to v0.34.5.
    • Updated golang.org/x/net from v0.48.0 to v0.51.0.
    • Updated golang.org/x/oauth2 from v0.34.0 to v0.35.0.
    • Updated golang.org/x/sys from v0.39.0 to v0.41.0.
    • Updated golang.org/x/term from v0.38.0 to v0.40.0.
    • Updated golang.org/x/text from v0.32.0 to v0.34.0.
    • Updated golang.org/x/tools from v0.40.0 to v0.42.0.
    • Updated k8s.io/api from v0.34.3 to v0.34.5.
    • Updated k8s.io/utils from 20251002143259 to 20260210185600.
    • Updated sigs.k8s.io/structured-merge-diff/v6 from v6.3.1 to v6.3.2.
  • test/anp/go.sum
    • Updated numerous module checksums to reflect dependency version changes.
  • test/cnp/go.mod
    • Updated golang.org/x/mod from v0.31.0 to v0.33.0.
    • Updated k8s.io/apimachinery from v0.34.3 to v0.34.5.
    • Updated k8s.io/client-go from v0.34.3 to v0.34.5.
    • Updated golang.org/x/net from v0.48.0 to v0.51.0.
    • Updated golang.org/x/oauth2 from v0.34.0 to v0.35.0.
    • Updated golang.org/x/sys from v0.39.0 to v0.41.0.
    • Updated golang.org/x/term from v0.38.0 to v0.40.0.
    • Updated golang.org/x/text from v0.32.0 to v0.34.0.
    • Updated golang.org/x/tools from v0.40.0 to v0.42.0.
    • Updated k8s.io/api from v0.34.3 to v0.34.5.
    • Updated k8s.io/utils from 20251002143259 to 20260210185600.
    • Updated sigs.k8s.io/structured-merge-diff/v6 from v6.3.1 to v6.3.2.
  • test/cnp/go.sum
    • Updated numerous module checksums to reflect dependency version changes.
Activity
  • The pull request description indicates that the author has not marked any of the 'What type of this PR' checkboxes (Features, Bug fixes, Docs, Tests).
  • No specific issue number is linked in the pull request description.
  • No human activity (comments, reviews, or progress updates) was provided in the context.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request primarily bumps Kubernetes-related dependencies to version v1.34.5, which is reflected across several files including go.mod, Dockerfiles, and Makefiles. The changes are mostly straightforward version updates. However, I've identified a couple of inconsistencies. The main go.mod file has conflicting versions for some Kubernetes client libraries in the require and replace blocks, which could lead to issues. Additionally, a Kubernetes version in a Makefile for kind is updated to a v1.35.x version, which is inconsistent with the PR's stated goal. Please see my detailed comments.

Comment on lines +55 to +59
k8s.io/api v0.35.1
k8s.io/apiextensions-apiserver v0.34.5
k8s.io/apimachinery v0.35.1
k8s.io/apiserver v0.34.5
k8s.io/client-go v0.35.1
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.

high

There's an inconsistency in the Kubernetes dependency versions. k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go are required as v0.35.1, but the replace directives in this file force them to v0.34.5. While this might compile, it's a fragile setup and can lead to subtle bugs or future compilation issues. It's recommended to align the versions. Since the goal of this PR is to bump to v1.34.5, the require directives for these modules should probably also point to v0.34.5. You might need to investigate which dependency is pulling v0.35.1 and see if it can be adjusted.


# renovate: datasource=docker depName=kindest/node packageName=kindest/node versioning=semver
K8S_VERSION ?= v1.35.0
K8S_VERSION ?= v1.35.1
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.

medium

This change bumps the K8S_VERSION for kind to v1.35.1, which is inconsistent with the PR's title "bump k8s to v1.34.5". If this change is intentional, it would be good to either update the PR title to reflect this or mention it in the description for clarity. If it's unintentional, it should be reverted or changed to a version in the v1.34.x line.

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 1, 2026

Pull Request Test Coverage Report for Build 22543036925

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.004%) to 22.945%

Files with Coverage Reduction New Missed Lines %
pkg/ovs/ovn-nb-logical_router_route.go 2 74.6%
Totals Coverage Status
Change from base Build 22543029775: -0.004%
Covered Lines: 12393
Relevant Lines: 54011

💛 - Coveralls

Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@zhangzujian zhangzujian merged commit 1d130e5 into kubeovn:release-1.15 Mar 2, 2026
71 of 74 checks passed
@zhangzujian zhangzujian deleted the release-1.15 branch March 2, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants