Skip to content

Bump supported kubernetes from 1.31 to 1.33 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 30, 2025
Merged

Conversation

rkwmt
Copy link
Contributor

@rkwmt rkwmt commented Jun 19, 2025

changes:

  • Support kubernetes 1.33
  • Update tools
    • Update github actions
    • Update tools and registries in aqua.yaml
    • Use golang:1.24-noble as build image
    • Run golangci-lint migrate to support v2 and fix lint errors
  • Fix flaky test

@rkwmt rkwmt self-assigned this Jun 19, 2025
@rkwmt rkwmt changed the title k8s 1.33 Bump supported kubernetes from 1.31 to 1.33 Jun 19, 2025
@rkwmt rkwmt force-pushed the k8s-1.33 branch 6 times, most recently from 0cf1e73 to c4516bc Compare June 23, 2025 06:52
@rkwmt rkwmt marked this pull request as ready for review June 26, 2025 05:22
@@ -238,7 +238,8 @@ var _ = Describe("controller", Ordered, func() {

// login to target-sts-0 Pod using `kubectl exec`
go func() {
_, err := utils.Kubectl(ptmx, "exec", "target-sts-0", "-it", "--", "sleep", fmt.Sprintf("%d", 3*testIntervalSeconds+2))
// subsequent tests may take some time, so sleep longer duration
_, err := utils.Kubectl(ptmx, "exec", "target-sts-0", "-it", "--", "sleep", "180")
Copy link
Contributor

Choose a reason for hiding this comment

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

180 is a magic number, so how about commonizing with the arg of WithTimeout?
It looks hard to get what the number means.

Copy link
Member

Choose a reason for hiding this comment

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

This is the time it takes to pull ubuntu-debug image.

Client: mgr.GetClient(),
ClientSet: kubernetes.NewForConfigOrDie(mgr.GetConfig()),
Scheme: mgr.GetScheme(),
RequeueRateLimiter: workqueue.NewTypedItemExponentialFailureRateLimiter[ctrl.Request](1*time.Second, 1000*time.Second),
Copy link
Member

Choose a reason for hiding this comment

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

The following PR says that the ceiling is too high.
kubernetes-sigs/controller-runtime#3107 (comment)

I think about 300 seconds is appropriate.

Copy link
Member

@zoetrope zoetrope left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@takahiro-yamada takahiro-yamada left a comment

Choose a reason for hiding this comment

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

LGTM

@takahiro-yamada takahiro-yamada merged commit 4ceafda into main Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants