Skip to content

Replace Ingress with Gateway API#531

Open
ksuderman wants to merge 5 commits intogalaxyproject:masterfrom
ksuderman:gateway-api
Open

Replace Ingress with Gateway API#531
ksuderman wants to merge 5 commits intogalaxyproject:masterfrom
ksuderman:gateway-api

Conversation

@ksuderman
Copy link
Copy Markdown
Contributor

An initial attempt at what may be required to replace the Nginx Ingress controller with the Gateway API. See the GATEWAY_API_SUMMARY.md and GATEWAY_API_MIGRATION.md files for a more detailed explanation of the changes.

These will not be breaking changes until we set gateways.enabled: true (or ingress.enabled:false) as the default. The current default is gateway.enabled: false

Copy link
Copy Markdown
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking we should remove deployment specific manifests like envoy and kong - it's too many things to take maintenance on for. We are never going to even test those most likely. If we need to have an "out-of-the-box" gateway, I think istio would be a good choice, but ideally, we just keep deployment details out altogether, and only include the Gateway definition and HTTPRoute manifests (although I'm guessing that's going to end up in an ingress like scenario and we will in fact, have to rely on some preferred gateway config)

@ksuderman
Copy link
Copy Markdown
Contributor Author

Won't we need at least one working deployment for CI/CD? Not only for here, but the Galaxy smoke test and the Galaxy K8S Boot playbook tests. I have no idea which of the three would be preferred, so I left them in for now. We can remove the other two once we pick one.

@gkr0110
Copy link
Copy Markdown
Contributor

gkr0110 commented Feb 9, 2026

I’m really excited about the possibility of using Galaxy with GatewayAPI! It would be wonderful to see this merged soon.

@nuwang
Copy link
Copy Markdown
Member

nuwang commented Feb 10, 2026

@gkr0110 Can you let us know which Gateway you are currently using?

@gkr0110
Copy link
Copy Markdown
Contributor

gkr0110 commented Feb 10, 2026

@gkr0110 Can you let us know which Gateway you are currently using?

I'm using Cilium Gateway Controller with Gateway API v1.4.1

@micafer
Copy link
Copy Markdown

micafer commented Mar 25, 2026

did you consider to use the nginx o traefik gateway api controllers?

@nuwang
Copy link
Copy Markdown
Member

nuwang commented Mar 26, 2026

@micafer I don't recall discussing those options, so thanks for bringing them up. Given the plethora of options, it just reinforces the idea that it would make more sense for the chart to be neutral about it. We could allow for multiple gateways options to be installed through the galaxy-helm-deps chart.

@afgane @ksuderman For production however, there'll be some issues like defining request timeouts, which will be gateway specific. Maybe we can just provide some notes and example config for production use cases?

For testing however, it looks like we won't need any gateway specific objects, and just an HTTPRoute alone may suffice on the galaxy-helm side: https://kubernetes.io/blog/2025/11/06/gateway-api-v1-4/#introducing-default-gateways

@almahmoud
Copy link
Copy Markdown
Member

Any plans to make changes in the k8s runner in galaxy proper for the IT ingresses as well? Assuming that will also need to change?

@ksuderman
Copy link
Copy Markdown
Contributor Author

Thanks @almahmoud. I've opened a draft PR in Galaxy to migrate to HTTPRoute in the k8s job runner.

@ksuderman
Copy link
Copy Markdown
Contributor Author

I've removed vendor specific manifests, updated the documentation, and provided an examples directory with examples for Cilium, Istio, Kong, NGinx Fabrix, and Traefik. The chart still needs testing though.

Copy link
Copy Markdown
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ksuderman, this lgtm!

@ksuderman ksuderman marked this pull request as ready for review April 14, 2026 23:50
Copy link
Copy Markdown
Member

@nuwang nuwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to introduce a single docs folder and move the examples folder under it. Also left a comment on the values.yaml file.

Comment thread galaxy/values.yaml Outdated
ksuderman and others added 2 commits April 22, 2026 14:25
Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants