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
Upgrade controller-runtime and k8s packages #282
Conversation
Hi @xiaoxubeii. 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. |
If we bump to 1.24 and merge #280, does it mean our project can only be available in v1.24. |
I think Kubernetes should be backwards compatible and update references doesn't mean only this version and above are supported. |
I am not sure. But there are always many compatibility issues in different places. Can you provide some compatibility tests in 1.23 with this PR(bump to 1.24)? |
/ok-to-test |
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.
Could you edit PR title and commit to reflect what are we bumping, thanks
"Bump to v0.24" is not very verbose to keep as git history
k8s.io/client-go v0.24.0 | ||
k8s.io/component-base v0.24.0 | ||
k8s.io/component-helpers v0.24.0 | ||
k8s.io/klog/v2 v2.60.1 |
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.
this is not 0.24, so this PR is updating more than a single dependency, the title of the PR says 0.24 (and doesn't mention of what)
Please enhance your PR description and Git commit to reflect all these changes
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 | ||
sigs.k8s.io/controller-runtime v0.11.1 | ||
sigs.k8s.io/controller-runtime v0.12.1-0.20220614131733-a759a0d51676 |
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.
same as above
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.
can't this be 0.12.1?
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.
0.12.1 has not yet included the fixed pr.
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.
oh, then let's not merge this until there's a release
/approve cancel
Kube is not good for this, even if you read the documentation for this project, Kueue only works 1.22 and up, 1.21 with some fnacy feature gate movements. |
/hold |
OK, we can hold it until the right time to upgrade. |
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.
I'm not concerned about upgrading to 1.24 APIs. We never remove fields from k8s APIs, so it's generally backwards compatible.
/approve
go.mod
Outdated
k8s.io/component-base v0.23.3 | ||
k8s.io/component-helpers v0.23.4 | ||
k8s.io/klog/v2 v2.40.1 | ||
k8s.io/api v0.24.0 |
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.
can we use 0.24.1?
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.
OK, I have updated to v0.24.1
/retitle Upgrade controller-runtime and k8s packages |
c521730
to
532684e
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xiaoxubeii The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I'm going through the backlog of open PRs. Feel free to reopen once there is a new version /close |
@alculquicondor: 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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
#280 needs webhhook for delete verb, but it is broken in controller-runtime v0.11.1. Fixed PR is kubernetes-sigs/controller-runtime#1278.
Special notes for your reviewer: