Skip to content
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

Graduating GRPCRoute to GA #2919

Merged
merged 4 commits into from
Apr 10, 2024
Merged

Conversation

robscott
Copy link
Member

@robscott robscott commented Apr 1, 2024

What type of PR is this?
/kind documentation
/kind feature

What this PR does / why we need it:
This PR graduates GRPCRoute to GA. This means the following:

  1. GRPCRoute has a new v1 API version that is identical to v1alpha2
  2. Storage version is set to v1 in both standard and experimental channel - note that this makes it impossible to roll back to v1.0 CRDs, but since this is otherwise a no-op change, I think that's acceptable
  3. v1alpha2 is served in experimental channel but is not served in standard channel. This is primarily to ease the migration for anyone upgrading from earlier usage of GRPCRoute while also avoiding any usage of alpha APIs in standard channel.

Does this PR introduce a user-facing change?:

GRPCRoute has graduated to GA. We recommend using the "v1" API version with this API now. The "v1alpha2" version of this API is deprecated and will be removed in the future.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/documentation Categorizes issue or PR as related to documentation. kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 1, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Apr 1, 2024
@robscott
Copy link
Member Author

robscott commented Apr 1, 2024

/cc @gnossen

@k8s-ci-robot
Copy link
Contributor

@robscott: GitHub didn't allow me to request PR reviews from the following users: gnossen.

Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @gnossen

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.

@@ -0,0 +1,618 @@
/*
Copy link
Member Author

Choose a reason for hiding this comment

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

For the record, I used git mv here to try to maintain git history. That appears to have worked everywhere but the GitHub UI.
Screenshot 2024-04-01 at 3 18 01 PM

@robscott
Copy link
Member Author

robscott commented Apr 1, 2024

This is a big PR, adding a hold until we've got multiple LGTMs or approvals.

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 1, 2024
@robscott robscott added the tide/merge-method-rebase Denotes a PR that should be rebased by tide when it merges. label Apr 1, 2024
@kflynn
Copy link
Contributor

kflynn commented Apr 2, 2024

Looks good here!
/approve

Copy link
Member

@shaneutt shaneutt left a comment

Choose a reason for hiding this comment

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

/lgtm

/cc @gnossen

@k8s-ci-robot
Copy link
Contributor

@shaneutt: GitHub didn't allow me to request PR reviews from the following users: gnossen.

Note that only kubernetes-sigs members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/lgtm

/cc @gnossen

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.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 2, 2024
@keithmattix
Copy link
Contributor

v1alpha2 is served in experimental channel but is not served in standard channel. This is primarily to ease the migration for anyone upgrading from earlier usage of GRPCRoute while also avoiding any usage of alpha APIs in standard channel.

How does not serving v1alpha2 in standard channel help migrations?

@robscott
Copy link
Member Author

robscott commented Apr 2, 2024

How does not serving v1alpha2 in standard channel help migrations?

Yeah that's unnecessarily confusing. In my head I was comparing it to not including v1alpha2 at all. Including but not serving v1alpha2 has the affect of enabling the v1.1 GRPCRoute standard channel CRD to be installed in clusters that previously had the experimental channel GRPCRoute CRD (any version). It does also mean that in that upgrade scenario, users would also need to upgrade their manifests to v1 for any future updates to GRPCRoute config.

I feel pretty strongly that standard channel CRDs should never support reads or writes to alpha API versions. If we were to expose alpha API versions in standard channel, we'd either have to deal with version deprecations in standard channel or never remove alpha, neither of which seem great.

@shaneutt shaneutt removed their assignment Apr 2, 2024
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 2, 2024
@kflynn
Copy link
Contributor

kflynn commented Apr 3, 2024

🤬 My (now-deleted) comment above really should've been on #2912, in fact, sorry about that. Taking that discussion over there and deleting the comment that shouldn't ever have been posted here. 🤦‍♂️

@youngnick
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 9, 2024
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 10, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kflynn, robscott, shaneutt

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@robscott
Copy link
Member Author

@shaneutt, @kflynn, or anyone else, I think we've got enough approvals, can someone add the final LGTM to merge this in?

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 10, 2024
@kflynn
Copy link
Contributor

kflynn commented Apr 10, 2024

/lgtm

🙂

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 10, 2024
@k8s-ci-robot k8s-ci-robot merged commit 6242b68 into kubernetes-sigs:main Apr 10, 2024
8 checks passed
pleshakov added a commit to pleshakov/gateway-api that referenced this pull request Apr 16, 2024
In kubernetes-sigs#2919
the version of GRPCRoutes in conformance tests was updated
from v1alpha2 to v1.
However, two GRPCRoutes were not updated.

This commits fixes the version in those omitted two GRPCRoutes.
k8s-ci-robot pushed a commit that referenced this pull request Apr 16, 2024
In #2919
the version of GRPCRoutes in conformance tests was updated
from v1alpha2 to v1.
However, two GRPCRoutes were not updated.

This commits fixes the version in those omitted two GRPCRoutes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tide/merge-method-rebase Denotes a PR that should be rebased by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants