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

WIP: Gateway #3146

Closed
wants to merge 3 commits into from
Closed

WIP: Gateway #3146

wants to merge 3 commits into from

Conversation

smcavallo
Copy link

Issue

#1338

Description

Add initial support for Gateway API
In scope:

  • NLB/TCPRoute

Observations for discussion:

  • Since many of the settings previously configured via annotations can now be defined in native gateway API objects (Ex HTTPRouteRule and GatewayTLSConfig) it may not make sense to continue using the existing annotations where those settings can be defined. since a Gateway can support NLB or ALB (or both) perhaps a more user friendly solution is required.
    • Propose that alb/nlb settings be defined in GatewayClassParameter which is associated with theGatewayClass object instead of annotations. This may be a bit easier to manage and will mean that most if not all the annotations will go away completely.
    • Propose that annotations use new key of gateway.beta.kubernetes.io. instead of alb.ingress.kubernetes.io or service.beta.kubernetes.io because of the above

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the docs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 10, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: smcavallo
Once this PR has been reviewed and has the lgtm label, please assign m00nf1sh for approval. For more information see the Kubernetes Code Review Process.

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

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Apr 10, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @smcavallo. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 10, 2023
@M00nF1sh M00nF1sh mentioned this pull request Apr 13, 2023
6 tasks
@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 25, 2023
@k8s-ci-robot
Copy link
Contributor

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.

@kahirokunn
Copy link
Member

Awesome!

@johngmyers
Copy link
Contributor

We should build out the validating webhooks at the same time as we define the new types.

We should start out with this under a feature flag so we don't have to maintain compatibility with early mistakes.

This will be a lot easier to review if separated into a series of smaller commit, each building out one component.

@kahirokunn
Copy link
Member

Any progress?

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 22, 2024
@blakepettersson
Copy link

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 23, 2024
@Aym3nTN
Copy link

Aym3nTN commented Feb 10, 2024

Any progress?

@mithunkrb
Copy link

Hi,

We are also planning to migrate from Ingress to Gateway API for our cluster however, we are currently blocked as currently we don't have any spec parameter in GatewayClass/Gateway which is equivalent to service annotations(for example: service.beta.kubernetes.io/aws-load-balancer-type: "external", , service.beta.kubernetes.io/aws-load-balancer-security-groups: "sg-0bfa8da2aca87a2f2") to let the LB reconciliation picked by latest AWS LBC controllers to deploy NLB instead of in-tree controller(classic).

Wondering if we have any update on this?

Please let me know if you need a helping hand on this PR, I can try to contribute

@jdoylei
Copy link

jdoylei commented May 28, 2024

Hi @smcavallo, is this PR (Add initial support for Gateway API) still something you're working on / interested in? It seems like @johngmyers had some suggestions a couple months later, but this PR doesn't show activity after that.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 26, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 25, 2024
@blakepettersson
Copy link

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 25, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 24, 2024
@zac-nixon
Copy link
Collaborator

It seems this PR has been abandoned. I'm working on a Gateway API integration right now and I'll close this out to prevent further confusion.

@zac-nixon zac-nixon closed this Jan 8, 2025
@jdoylei
Copy link

jdoylei commented Jan 8, 2025

It seems this PR has been abandoned. I'm working on a Gateway API integration right now and I'll close this out to prevent further confusion.

@zac-nixon - it's great to hear you're working on this. Will your work be attached to the same GitHub issue about Gateway API, #1338? If you have a PR or commits or docs, could you please leave a link in a PR comment here, just for a trail to follow? Thanks for posting your comment to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants