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

Add support for Gateway-API #163

Open
qjoly opened this issue Dec 22, 2023 · 0 comments
Open

Add support for Gateway-API #163

qjoly opened this issue Dec 22, 2023 · 0 comments

Comments

@qjoly
Copy link

qjoly commented Dec 22, 2023

Describe the solution you'd like

Gateway API is an open source project managed by the SIG-NETWORK community. It is an API (collection of resources) that model service networking in Kubernetes. These resources - GatewayClass, Gateway, HTTPRoute, TCPRoute, etc., as well as the Kubernetes Service resource - aim to evolve Kubernetes service networking through expressive, extensible, and role-oriented interfaces that are implemented by many vendors and have broad industry support.

I mainly use API-Gateway (mostly because they are roles-based) and I think Hajimari support would be great. The annotations would be placed on the "HTTPRoute" resource (which works in a similar way to ingress).

Official documentation

Additional context
Example of HTTPRoute:

apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: example-route
  annotations:
    hajimari.io/enable = "true"
    hajimari.io/url = "example.com"
spec:
  parentRefs:
  - name: example-gateway
  hostnames:
  - "example.com"
  rules:
  - backendRefs:
    - name: example-svc
      port: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant