-
Notifications
You must be signed in to change notification settings - Fork 79
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
update dependencies to k8s.io v0.27.2 #619
update dependencies to k8s.io v0.27.2 #619
Conversation
Welcome @SimonTheLeg! |
Hi @SimonTheLeg. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Failures are due to controller runtime not yet supporting v0.27.1, which will be achieved once this is merged: kubernetes-sigs/controller-runtime#2189 side-note from me: the controller-runtime PR is dependent on a new release in api-machinery, which has to include this commit kubernetes/apimachinery@c2d59b0 So I guess the only option is to wait for now.. |
This should be unblocked now. |
228e7c8
to
659067d
Compare
yes! I have updated the PR. One thing: with controller-runtime v0.15.0 there is a breaking change in NewDynamicRESTMapper, which now requires an http.Client to passed in. From reading the associated PR kubernetes-sigs/controller-runtime#2122, I understand that it is mainly done to re-use clients. Since we don't really need to do this I just went with the defaultClient for now. @ash2k I would appreciate if you could take a look, if I understood this correctly. Thanks! :) |
@SimonTheLeg Thanks for updating the PR! I think I think default client is fine because it's only used in tests. /lgtm Not sure I can lgtm. |
/retest |
CI complains about a deprecation notice on the NewExponentialBackoffManager() func. I have tried to apply what is suggested in the deprecation notice, but it leads to compiler errors. For now I have opened an issue kubernetes/kubernetes#118638 |
@SimonTheLeg Is it possible to silence the linter and use the deprecated API for now until the upstream issue is fixed? I hope we don't need to wait for it to be resolved. |
/retest |
I have added the nolint, and |
@SimonTheLeg I suspect this might be related to kubernetes/test-infra#29742, but I will try to take a look. |
/retest |
1 similar comment
/retest |
I think there is a problem with the stress tests that is not related to the changes here. It looks like the prow pod just gets killed, so my guess is that it is using more resources than is allowed. |
/retest |
@mortent I think something else might be going on. Here are the final lines from the logs of the latest run:
That page actually says
I wonder if this is related to migration to a different cluster in kubernetes/test-infra#29742. |
If we run this job for |
I see it's failing in #621 and everywhere on the dashboard https://prow.k8s.io/job-history/gs/kubernetes-jenkins/pr-logs/directory/cli-utils-presubmit-master-stress. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@mortent This has finally passed CI, ready for merge. Cheers.
@mortent @karlkfi Could you merge this please? Any blockers? Without going into too much detail, there is a CVE in docker, which is a transitive dependency in my project, and I cannot update it because that also requires Kubernetes 1.27 libraries, which I cannot use because |
looks good to me. I will approve shortly, unless someone has an objection. OAN:
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ash2k, mortent, SimonTheLeg The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
2 similar comments
/retest |
/retest |
Hm.... |
/retest |
@SimonTheLeg: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@SimonTheLeg I've incorporated these changes into #629, which got merged. Thank you! /close |
@ash2k: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR updates the dependencies to match the v0.27.2 version of the k8s.io components.
Go mod also automatically updates kyaml to v0.14.1 to keep compatibility.
With v0.27, DryRunVerifier has been deprecated (kubernetes/kubernetes#114294) without any replacement. Therefore this PR also removes any references.
We also need to update controller-runtime to v0.15.0 to work with v0.27.2. This brings with it another breaking change for the NewDynamicRESTMapper, which is adopted as well.