Sub topic 11
Choosing an implementation
This chapter assumes you know the Gateway API resources from earlier chapters (GatewayClass, Gateway, HTTPRoute) and can use kubectl. Here you decide which controller will serve them.
The API is shared, the controller is not
The Gateway API is a set of custom resources. It does nothing until a controller implements it. Each controller registers a GatewayClass, and your Gateway selects it with gatewayClassName. The YAML for HTTPRoute, ReferenceGrant and the Gateway itself stays largely the same across controllers. What changes is the following:
- Which optional features work.
- How you configure anything outside the standard API.
- How the data plane is deployed and operated.
Because of this, the choice of implementation mainly affects how you handle the gaps left by NGINX annotations.
What to compare
| Criterion | What to check |
|---|---|
| Conformance | The project's published conformance report. Note the API version and which Core and Extended features pass. |
| Route types | Whether it supports GRPCRoute, TLSRoute and TCPRoute if you need them. |
| Extension points | How it handles what NGINX annotations did: timeouts, body size limits, rate limits, auth. These are usually implementation-specific policy resources. |
| Data plane | Whether it runs Envoy, NGINX, HAProxy or a cloud load balancer, and whether it creates one proxy per Gateway. |
| Platform fit | Whether it integrates with your cloud, service mesh or CNI. |
| Operations | Your team's familiarity, upgrade process, metrics and support model. |
Common options include Envoy Gateway, NGINX Gateway Fabric, Istio, Cilium, Traefik, Contour, Kong and the managed Gateway controllers from cloud providers. Check each project's current documentation, because feature support changes between releases.
Match the choice to your annotations
Start with an inventory of the annotations you actually use. List them with a command like this:
kubectl get ingress -A -o json \
| jq -r '.items[].metadata.annotations // {} | keys[]' \
| grep '^nginx.ingress.kubernetes.io/' \
| sort | uniq -c | sort -rnAnnotations such as ssl-redirect and canary-weight map to standard features, so any conformant controller handles them. Annotations for rate limiting, external auth, custom NGINX snippets or ModSecurity do not. For these you need to confirm that your candidate has an equivalent policy resource. If your team depends heavily on NGINX behavior, a controller that uses NGINX as its data plane may reduce surprises. Even then, expect different configuration.
Check what is installed
After installing a candidate, confirm that it registered its class and that the class is accepted:
kubectl get gatewayclass
kubectl describe gatewayclass <class-name>The Accepted condition should be True. Use the class name from this output as gatewayClassName in your Gateway.
Run a small trial
Before committing, test the candidate with one low-risk service. Deploy a Gateway and HTTPRoute that mirror an existing Ingress, then check TLS, redirects, weights and any extensions you need. Also note how the controller reports problems in status conditions, because you will rely on those during verification.
Exercise
Your Ingresses use ssl-redirect and canary-weight, plus limit-rps for rate limiting. Which of these is likely to work on any conformant implementation, and which needs a check of the implementation's own features?
Show answer
ssl-redirect maps to the standard RequestRedirect filter and canary-weight maps to backendRef weights, so any conformant implementation supports them. limit-rps has no standard equivalent, so you must check whether your candidate offers a rate-limiting policy resource and how it is configured.