kubernetes-sigs / ingress2gateway

Convert Ingress resources to Gateway API resources
Apache License 2.0
324 stars 52 forks source link

Psudo Ingress Controller #130

Open kfox1111 opened 4 months ago

kfox1111 commented 4 months ago

Are there any plans to support running ingress2gateway as a controller that watches for ingress objects and uploads the result as gateway objects directly to the cluster? This would help smooth out the transition to the gateway api?

LiorLieberman commented 4 months ago

That is a very interesting direction to go. @mlavacca also talked with me about it 3 months back.

My few concerns/thoughts are:

That said, those are just initial thoughts. I am definitely up to be convinced otherwise.

kfox1111 commented 4 months ago

Yeah, I can understand the concern around such functionality slowing down adoption of the Gateway API, but in my case, I think it might help speed it up by breaking the deadlock around it.

An example situation...

Some cluster admins have been running ingress-nginx for a very long time. It does not currently have gateway api support, and seems unlikely to get support any time soon.

There are Gateway API only implementations such as envoy gateway that may be desirable to switch to.

There are also a ton of existing helm charts that currently only support the ingress api. It is difficult to get them to add the new apis unless there are enough users asking for support.

In environments like this, ingress2gateway as a controller can bridge the gap. Allow cluster admins to adopt a native gateway api only controller but have a bridge to support all the existing charts. Then the helm chart users have an easier path to request from the helm chart devs, "We'd like official gateway support for the chart. The software does work with the gateway api as we're already using it." The users have a harder time doing that when the clusters they are running on doesn't have support yet. The chart devs have an easier time adopting the gateway api if someone else has already ensured it works, and know more and more end clusters are gateway api enabled.

ingress2controller as a standalone command works well for static manifests, but not as well for helm based deployments. Especially when pipelines are involved.

k8s-triage-robot commented 1 month ago

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

This bot triages un-triaged issues according to the following rules:

You can:

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

/lifecycle stale

k8s-triage-robot commented 3 weeks ago

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

This bot triages un-triaged issues according to the following rules:

You can:

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

/lifecycle rotten