-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 k8s tests and libraries to v1.27.0 #24837
Conversation
598a3d4
to
6897b4b
Compare
/test-1.27-net-next |
6897b4b
to
37bfc6e
Compare
/test-1.27-net-next |
/test-upstream-k8s |
k8s-1.27-kernel-net-next and k8s-upstream both passed. Marking as ready to review and running remaining tests. |
/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.
Discussed offline
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.
@tklauser 👋🏻 Some edits for clarity, otherwise LGTM from a docs perspective
@zacharysarah The changes you requested are all in the 3rd party dependency package |
37bfc6e
to
09d344e
Compare
/test-1.27-net-next |
/test-upstream-k8s |
2615e7c
to
8f8ca7d
Compare
Updating k8s libs to v1.27.0 requires updating sigs.k8s.io/controller-runtime to an unreleased version with kubernetes-sigs/controller-runtime#2223 in place. This in turn requires some additional adjustments to changed APIs in the controller-runtime, mainly in operator/pkg/gateway-api. The service.kubernetes.io/topology-aware-hints annotation got deprecated with k8s 1.27 in favor of service.kubernetes.io/topology-mode (see kubernetes/kubernetes#116522). This change keeps support for the deprecated annotation. Support for the new annotation will be added in a successive commit. Signed-off-by: Chris Tarazi <chris@isovalent.com> Signed-off-by: Tobias Klauser <tobias@cilium.io>
k8s 1.27 deprecated the service.kubernetes.io/topology-aware-hints annotation in favor of the service.kubernetes.io/topology-mode annotation to allow implementation-specific values for the annotation. See kubernetes/kubernetes#116522 for more details. Add support for service.kubernetes.io/topology-mode, letting the deprecated service.kubernetes.io/topology-aware-hints take precedence. This is in correspondence with the upstream implementation. Signed-off-by: Tobias Klauser <tobias@cilium.io>
8f8ca7d
to
387b223
Compare
/test-1.27-net-next |
/test-upstream-k8s |
/test |
/test-upstream-k8s previous attempt timed out: https://jenkins.cilium.io/job/Cilium-PR-K8s-Upstream/4283/ |
@tklauser 👋🏻
I agree that those changes are out of scope for this PR. For future PRs that import vendor content, is there a way to signal that clearly? I'd like to avoid giving unnecessary reviews. |
Sorry for taking your time to review these files 😞
I think GitHub should hide the files under Unfortunately it also hides other files which still might be of interest, e.g. in case the diff is too large. But at least this should be a good first indicator. maybe this is something we could point out more explicitly in the contributor guide's pull requests review process docs? |
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.
Thanks and looks good to me for servicemesh related files
Updating k8s libs to v1.27.0 requires updating sigs.k8s.io/controller-runtime to an unreleased version with kubernetes-sigs/controller-runtime#2223 in place. This in turn requires some additional adjustments to changed APIs in the controller-runtime, mainly in operator/pkg/gateway-api.
The service.kubernetes.io/topology-aware-hints annotation got deprecated with k8s 1.27 in favor of service.kubernetes.io/topology-mode (see kubernetes/kubernetes#116522). This change keeps support for the deprecated annotation. Support for the new annotation will be added in a successive commit.
Supersedes #24553