Skip to content

bump k8s to v1.33.4#5182

Merged
zhangzujian merged 8 commits intokubeovn:masterfrom
zhangzujian:k8s-1.33
Aug 15, 2025
Merged

bump k8s to v1.33.4#5182
zhangzujian merged 8 commits intokubeovn:masterfrom
zhangzujian:k8s-1.33

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)

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.

Hello @zhangzujian, 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!

Summary of Changes

This pull request bumps the Kubernetes version to v1.33.0. This involves updating the KUBECTL_VERSION environment variable in the Dockerfile.base and download-go-deps.sh files, as well as updating the go.mod and go.sum files to reflect the new Kubernetes dependencies. The hack/update-codegen-docker.sh script is also updated to use a newer version of the kube-code-generator. Several files related to informers are updated to use context.Background() instead of context.TODO().

Highlights

  • Kubernetes Version Update: The core change is updating the Kubernetes version to v1.33.0 across the project.
  • Dockerfile and Script Updates: The Dockerfile and dependency download script are updated to use the new Kubernetes version.
  • Go Dependency Updates: The go.mod and go.sum files are updated to reflect the new Kubernetes dependencies and other indirect dependencies.
  • Context Usage Update: Informer files are updated to use context.Background() instead of context.TODO().
  • Code Generator Image Update: The hack/update-codegen-docker.sh script is updated to use a newer version of the kube-code-generator image.

Changelog

Click here to see the changelog
  • dist/images/Dockerfile.base
    • Updated KUBECTL_VERSION to v1.33.0.
  • dist/images/go-deps/download-go-deps.sh
    • Updated KUBECTL_VERSION to v1.33.0.
  • go.mod
    • Bumped k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apimachinery, k8s.io/component-base, k8s.io/kube-aggregator, k8s.io/kubectl, k8s.io/kubernetes, and k8s.io/pod-security-admission to v0.33.0.
    • Removed github.com/asaskevich/govalidator.
    • Updated github.com/google/cel-go to v0.23.2.
    • Updated github.com/gorilla/websocket to v1.5.4-0.20250319132907-e064f32e3674.
    • Removed github.com/opencontainers/runc.
    • Added sigs.k8s.io/randfill v1.0.0
  • go.sum
    • Removed github.com/asaskevich/govalidator.
    • Updated github.com/golang-jwt/jwt/v4 to v4.5.2.
    • Updated github.com/google/cel-go to v0.23.2.
    • Updated github.com/gorilla/websocket to v1.5.4-0.20250319132907-e064f32e3674.
    • Removed github.com/opencontainers/runc.
    • Updated go.etcd.io/etcd/client/v2 to v2.305.21.
    • Updated go.etcd.io/etcd/pkg/v3 to v3.5.21.
    • Updated go.etcd.io/etcd/raft/v3 to v3.5.21.
    • Updated go.etcd.io/etcd/server/v3 to v3.5.21.
    • Added golang.org/x/crypto v0.24.0 and v0.36.0.
    • Added golang.org/x/mod v0.18.0.
    • Added golang.org/x/net v0.26.0 and v0.38.0.
    • Updated golang.org/x/oauth2 to v0.27.0.
    • Added golang.org/x/sync v0.12.0.
    • Added golang.org/x/sys v0.21.0 and v0.31.0.
    • Added golang.org/x/term v0.21.0 and v0.30.0.
    • Added golang.org/x/text v0.23.0.
    • Updated golang.org/x/time to v0.9.0.
    • Added golang.org/x/tools v0.22.0.
    • Updated google.golang.org/protobuf.
    • Added gopkg.in/go-jose/go-jose.v2 v2.6.3.
    • Updated k8s.io/api, k8s.io/apiextensions-apiserver, k8s.io/apimachinery, k8s.io/apiserver, k8s.io/cli-runtime, k8s.io/client-go, k8s.io/cloud-provider, k8s.io/cluster-bootstrap, k8s.io/component-base, k8s.io/component-helpers, k8s.io/controller-manager, k8s.io/cri-api, k8s.io/cri-client, k8s.io/csi-translation-lib, k8s.io/dynamic-resource-allocation, k8s.io/kms, k8s.io/kube-aggregator, k8s.io/kube-openapi, k8s.io/kube-scheduler, k8s.io/kubectl, k8s.io/kubelet, k8s.io/legacy-cloud-providers, k8s.io/metrics, k8s.io/mount-utils, k8s.io/pod-security-admission, and k8s.io/sample-apiserver.
    • Updated k8s.io/gengo/v2.
    • Added sigs.k8s.io/randfill v1.0.0.
    • Updated sigs.k8s.io/structured-merge-diff/v4.
  • hack/update-codegen-docker.sh
    • Updated kube-code-generator image version to v0.6.1.
  • pkg/client/clientset/versioned/fake/clientset_generated.go
    • Added import for metav1.
    • Added ListOptions to Watch function call.
  • pkg/client/clientset/versioned/typed/kubeovn/v1/kubeovn_client.go
    • Removed unnecessary error check in NewForConfig and NewForConfigAndClient.
    • Changed setConfigDefaults to not return an error.
  • pkg/client/informers/externalversions/kubeovn/v1/*
    • Replaced context.TODO() with context.Background() in ListFunc and WatchFunc.
    • Added ListWithContextFunc and WatchFuncWithContext.
  • pkg/daemon/controller_linux.go
    • Removed k8sExec from k8sipset.New call.
    • Removed k8sExec from k8siptables.New call.
  • talos.mk
    • Updated TALOS_K8S_VERSION to 1.33.0.
  • test/anp/go.mod
    • Bumped k8s.io/apimachinery and k8s.io/client-go to v0.33.0.
    • Removed github.com/golang/protobuf.
    • Updated github.com/google/pprof.
    • Updated github.com/gorilla/websocket.
    • Updated github.com/onsi/ginkgo/v2 and github.com/onsi/gomega.
    • Updated k8s.io/api and k8s.io/apiextensions-apiserver.
    • Updated k8s.io/kube-openapi.
    • Updated sigs.k8s.io/structured-merge-diff/v4.
  • test/anp/go.sum
    • Various dependency updates.
  • yamls/kind.yaml.j2
    • Updated default k8s_version to v1.33.0.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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 is currently in preview and 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 to provide feedback.

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.


A version bump,
A gentle code adjustment,
New features bloom.

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.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 25, 2025

Pull Request Test Coverage Report for Build 16983678882

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

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

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/daemon/controller_linux.go 0 3 0.0%
pkg/informer/kubevirt.go 0 26 0.0%
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 16980928865: -0.02%
Covered Lines: 10579
Relevant Lines: 49425

💛 - Coveralls

@zhangzujian zhangzujian changed the title bump k8s to v1.33.0 bump k8s to v1.33.1 May 16, 2025
@zhangzujian zhangzujian force-pushed the k8s-1.33 branch 2 times, most recently from b0187ac to 348e860 Compare May 19, 2025 02:40
@zhangzujian zhangzujian force-pushed the k8s-1.33 branch 2 times, most recently from 9a920f2 to 9176710 Compare May 24, 2025 23:54
@zhangzujian zhangzujian force-pushed the k8s-1.33 branch 3 times, most recently from b5ff8e2 to d391210 Compare June 8, 2025 13:18
@zhangzujian zhangzujian force-pushed the k8s-1.33 branch 4 times, most recently from 2abea46 to 6a39af0 Compare June 25, 2025 09:17
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@zhangzujian zhangzujian changed the title bump k8s to v1.33.1 bump k8s to v1.33.4 Aug 15, 2025
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@zhangzujian zhangzujian marked this pull request as ready for review August 15, 2025 04:22
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Aug 15, 2025
@dosubot dosubot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 15, 2025
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
@zhangzujian zhangzujian requested a review from oilbeater August 15, 2025 06:37
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Aug 15, 2025
@zhangzujian zhangzujian merged commit e671f5d into kubeovn:master Aug 15, 2025
76 checks passed
@zhangzujian zhangzujian deleted the k8s-1.33 branch August 15, 2025 06:50
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 lgtm This PR has been approved by a maintainer network policy size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants