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

Extensions for gateway #3320

Open
daixiang0 opened this issue Sep 6, 2024 · 4 comments
Open

Extensions for gateway #3320

daixiang0 opened this issue Sep 6, 2024 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@daixiang0
Copy link

daixiang0 commented Sep 6, 2024

What would you like to be added:

Add Extension API for gateway.

Why this is needed:

Optimize ease of use, flexibility and scalability.

Now every gateway implement has its own unique features while Kubernetes Gateway API cannot cover them.
It is ok that users use Gateway API + specific gateway API, but would be better if only use Gateway API.

In addition to ease of use issues, more flexibility would be introduced by Extension API. As we know, bring a new feature into Gateway API usually speed much time, During this time, Extension API can help as well.

Full design is as https://docs.google.com/document/d/1FjUEKtpymVrY0xAyZVz1nnVB1fryHU7s9XWE6C3Bsww/edit?usp=sharing

@daixiang0 daixiang0 added the kind/feature Categorizes issue or PR as related to a new feature. label Sep 6, 2024
@arkodg
Copy link
Contributor

arkodg commented Sep 6, 2024

@daixiang0 Gateway API already supports extending the API using PolicyAttachments https://gateway-api.sigs.k8s.io/geps/gep-713/

@daixiang0
Copy link
Author

I knew it but it can not support some features like this feature in Kong.

Those features are not in policy field but implemented in the gateway.

@spacewander
Copy link
Contributor

The gateway can define its own policy. For example, HTNN defines the FilterPolicy to run plugins: https://github.com/mosn/htnn/blob/main/site/content/en/docs/concept/filterpolicy.md

@daixiang0
Copy link
Author

The gateway can define its own policy. For example, HTNN defines the FilterPolicy to run plugins: https://github.com/mosn/htnn/blob/main/site/content/en/docs/concept/filterpolicy.md

I am confused about those belongs, now we have GEP, but for example, HTNN still use htnn.mosn.io not gateway.networking.k8s.io, I can't think it followed GEP standard from its YAML statement though in fact it did.

@shaneutt shaneutt added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: Triage
Development

No branches or pull requests

4 participants