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

k8s Gateway API support #814

Open
gemelen opened this issue Dec 4, 2024 · 2 comments
Open

k8s Gateway API support #814

gemelen opened this issue Dec 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@gemelen
Copy link

gemelen commented Dec 4, 2024

TL;DR

Add support for the Gateway API in the LoadBalancer managing part of the CCM, so its Gateway component would be provided with the LoadBalancer information on par with a LoadBalancer service type.

This would handle the cases when a k8s cluster is deployed and configured (exclusively or preferably) with the Gateway API approach of exposing services. That covers setups managed by latest versions of Cilium, Traefik, Nginx and others, see list of implementations and compatibility tables for v1.2, v1.1.

One related issue has already been raised here.

Expected behavior

In a cluster setup configured in a Gateway API fashion, a Gateway should be able to obtain an external address(es) from an (external) load balancer, created by or provided via Hetzner CCM.

@gemelen gemelen added the enhancement New feature or request label Dec 4, 2024
@zfrgt
Copy link

zfrgt commented Dec 4, 2024

that would be nice to have

@am-i-helpful
Copy link

Hi!
I was able to provision an external LB in Hetzner-Cloud using the Cilium Gateway-API following the public documentation of hccm I found here (https://github.com/vitobotta/hetzner-k3s/blob/main/docs/Load_balancers.md#load-balancers), and a bit of manual work annotating the service derived as part of 'Gateway' resource which I think is a bug at Cilium's end: cilium/cilium#36792.

In my opinion, the limitation is at the Cilium Gateway-API controller that they are not copying the metadata 'annotation' from the 'Gateway' resource to the provisioned service of type 'LoadBalancer', which would otherwise result in hccm to provision an external LoadBalancer automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants