This page discusses the options for the _ingress.tpl to generate different resources:
- nginx
- Istio specific Gateway/VirtualService (https://istio.io/latest/docs/tasks/traffic-management/ingress/ingress-control/)
- Gateway-API HTTPRoute/TCPRoute... (will be the the new default API in Istio...) https://gateway-api.sigs.k8s.io/api-types/gateway/
Problem:
→ In the current implementation the template is able to generate only for nginx and Istio GW/VS
→ for each ingress definition for each VS a separate GW is created, which is generally not correct.
Instead a single GW should be provided, which should be used by all VCs
→ if a "commonGW" is used, the GW needs to be created during the Ingress setup phase (described in OOM documentation)
Proposal:
- Create new "global.Ingress" option to select the provider resource (Nginx, Istio, GW-API)
- Provide a "shared Gateway" name as option, which is refered by the VC/HTTPRoute,...
Options: Istio, no commonGW (not optimal or wrong)
Options: Istio, commonGW
Options: gw-api, commonGW