This kubernetes gateway api guide migrates production Ingress NGINX traffic to Gateway API after the controller retirement in March 2026. You will audit annotations, convert resources with ingress2gateway, map rewrites and redirects to HTTPRoute filters, wire cert-manager TLS with ReferenceGrants, and cut over one hostname at a time with a DNS rollback.
Why Migrate to the Kubernetes Gateway API Now?
In this kubernetes gateway api guide, migration starts from one fact: the community Ingress NGINX controller retired in March 2026 and no longer receives security patches. Gateway API v1.7.0 is current, core resources are stable, and a parallel run lets you move one hostname at a time with rollback intact.
The community Ingress NGINX controller retired in March 2026. Existing deployments keep running, but the project no longer ships releases, bug fixes, or security patches. That single fact changes the migration question from whether to move to how fast you can move without breaking traffic. The Ingress API itself is frozen, and Kubernetes documentation now points new work at Gateway API.
Gateway API is not a rename of Ingress. It is a family of resources that split traffic entry into three roles. A GatewayClass names the controller implementation. A Gateway declares listeners, ports, hostnames, and TLS settings. An HTTPRoute declares matches, filters, and backends for one application. Each resource maps to a team boundary and to Kubernetes RBAC, so an application team can ship a route without touching listener or certificate configuration.
Version facts matter before you install anything. GatewayClass, Gateway, and HTTPRoute have been stable since Gateway API v1.0 in October 2023. Version 1.5, released on 27 February 2026, moved TLSRoute, ListenerSet, the HTTPRoute CORS filter, client certificate validation, and ReferenceGrant into the Standard channel. Version 1.6, released at the end of June 2026, moved TCPRoute and UDPRoute to Standard. Version 1.7.0 shipped on 29 October 2026 and added retries for HTTPRoute.
| Version | Release date | Standard channel additions |
|---|---|---|
| v1.0 | 31 Oct 2023 | GatewayClass, Gateway, HTTPRoute |
| v1.5 | 27 Feb 2026 | TLSRoute, ListenerSet, CORS filter, ReferenceGrant |
| v1.6 | 30 Jun 2026 | TCPRoute, UDPRoute |
| v1.7 | 29 Oct 2026 | HTTPRoute retries |
The CRD version you can use depends on your controller, not only on the newest Gateway API release. Controller support often trails the CRD release by one minor version. Check the controller support table first, then install the Standard channel CRDs that match. Installing newer CRDs than your controller understands is a common way to create routes that never program.
This guide migrates one production pattern end to end: audit the current Ingress objects, convert them with ingress2gateway, fix the annotation gaps by hand, wire TLS with cert-manager, then cut over one hostname at a time with weighted routes and a tested rollback. If you still run NGINX, Traefik, or Caddy as a plain web server outside this decision, the Caddy vs NGINX vs Traefik comparison covers that separate choice.
The 970+ Incident Handbook & K8s Runbooks are exclusive to subscribers — unlock for FREE
Get battle-tested production runbooks, AWS architecture blueprints, and zero-downtime CI/CD post-mortems sent directly to your inbox. 100% free, no spam.
How Does the Kubernetes Gateway API Resource Model Work?
In this kubernetes gateway api guide, GatewayClass names the controller, Gateway declares listeners and TLS, and HTTPRoute declares matches, filters, and backends. ReferenceGrant controls cross namespace references. Each resource maps to one owner and one RBAC boundary, so application teams ship routes without touching listener or certificate settings.
Ingress puts the entry point and the routing rules in one object, then pushes every advanced behaviour into controller annotations. One Ingress can carry TLS settings, rewrite rules, rate limits, CORS policy, and authentication hints, all as strings that only one controller understands. Gateway API separates those concerns so each object has one owner and one job.
| Resource | Owner | Declares |
|---|---|---|
| GatewayClass | Platform team or provider | Which controller implementation runs the proxy |
| Gateway | Cluster operator | Listeners, ports, protocols, hostnames, TLS, allowed route namespaces |
| HTTPRoute | Application team | Hostnames, matches, filters, backend weights |
| ReferenceGrant | Namespace owner | Permission for cross namespace references |
A Gateway listener sets protocol, port, and optional hostname. The allowedRoutes field controls which namespaces may attach routes. The default allows only the Gateway namespace, which surprises teams on first contact. Set namespaces from Selector with a label match when application namespaces should attach routes, and keep the selector narrow enough that a new namespace cannot attach by accident.
An HTTPRoute attaches through parentRefs. Each rule carries matches for path, headers, query parameters, or method, filters for rewrites, redirects, header changes, mirroring, or CORS, and backendRefs with weights. Status conditions on the route report whether parents accepted it and whether references resolved. Read status before you debug the data plane, because most early failures are attachment and reference errors that the API server already recorded.
Two companion resources show up in real migrations. ListenerSet lets a team add listeners to a shared Gateway without editing the Gateway object, which helps when one Gateway serves many teams. ReferenceGrant permits a route or listener to reference a Secret or Service in another namespace. Without a ReferenceGrant, a cross namespace certificate reference fails closed, and the listener reports the problem in status.
The practical gain is portability with guardrails. The same HTTPRoute works across conformant controllers, and RBAC can grant route edits without granting listener edits. For interview style depth on the older annotation model, the Traefik interview questions and answers guide shows how much behaviour used to hide in annotations.
How Do You Choose a Kubernetes Gateway API Controller?
In this kubernetes gateway api guide, controller choice comes before YAML because GatewayClass names, supported versions, and policy resources differ per implementation. Check conformance reports and the supported Gateway API version first, then install matching Standard channel CRDs and record class, controller, and version in the change record.
Pick the controller before you write YAML, because the GatewayClass name, the supported Gateway API version, and the policy resources differ per implementation. Judge candidates on conformance reports, release pace, and the data plane your team already knows how to operate. A conformance report for the Gateway API version you plan to run is worth more than a feature list.
| Implementation | Data plane | Fits when |
|---|---|---|
| Envoy Gateway | Envoy | You want a dedicated Gateway API controller with strong policy support |
| NGINX Gateway Fabric | NGINX | Your team knows NGINX behaviour and wants a familiar proxy |
| Cilium | eBPF plus Envoy | Cilium already runs your cluster networking |
| Istio | Envoy | Istio already runs your service mesh |
| Traefik | Traefik | Traefik already fronts your services |
| AWS Load Balancer Controller | ALB or NLB | You run EKS and want cloud load balancers per Gateway |
Check three facts for the finalist. First, which Gateway API version the release supports, stated in the project docs. Second, whether HTTP core conformance passed for that version. Third, how the controller exposes extras such as rate limiting, external auth, and retries, because policy resources stay vendor specific even when routes stay portable.
Install the Standard channel CRDs that match controller support. For a controller that supports v1.7, the install looks like this:
kubectl apply --server-side -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.7.0/standard-install.yaml
kubectl get crd | grep gateway.networking.k8s.io
kubectl get gatewayclass
Use server side apply for CRDs, and check whether your platform already manages them. Managed Kubernetes services and operators sometimes own the CRDs. Applying a second copy over an operator managed install creates ownership fights that surface during upgrades.
With Envoy Gateway as the example controller, the GatewayClass looks like this:
apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
name: eg
spec:
controllerName: gateway.envoyproxy.io/gatewayclass-controller
Most controllers install their own GatewayClass, so treat this object as a reference for what to look for in kubectl get gatewayclass output. Record the class name, the controller version, and the supported Gateway API version in your migration notes. Those three values decide every YAML choice that follows, and they belong in the change record next to the rollback plan.
How Do You Audit Ingress Before a Kubernetes Gateway API Migration?
In this kubernetes gateway api guide, the audit lists every Ingress, hostname, annotation key, TLS Secret, and load balancer before conversion starts. Annotations sort into native mappings, controller policy, and redesign items. A saved backup plus per hostname evidence gives the migration a rollback source and a safe order.
Migration quality comes from the audit, not from the converter. Start by listing every Ingress, its class, its hosts, and its annotations. Count distinct annotation keys across the cluster. That count tells you how much behaviour lives outside the Ingress spec and how much manual mapping the migration needs.
kubectl get ingress -A
kubectl get ingress -A -o yaml > ingress-backup.yaml
kubectl get ingress -A -o json | jq -r '.items[].metadata.annotations // {} | keys[]' | sort | uniq -c | sort -rn
kubectl get ingressclass
kubectl get svc -A | grep LoadBalancer
Save the backup outside the cluster and treat it as the rollback source. Then sort annotations into three buckets. Bucket one covers behaviour Gateway API expresses natively, such as rewrites, redirects, header matches, CORS, and weighted backends. Bucket two covers behaviour a controller policy resource expresses, such as rate limits and external auth. Bucket three covers raw config injection, such as NGINX snippet annotations, which has no safe portable equivalent and needs a redesign decision per use.
| Audit output | Decision it drives |
|---|---|
| Ingress count per namespace | Migration order and route ownership |
| Distinct annotation keys | Manual mapping workload |
| Snippet annotations present | Redesign list, no direct conversion |
| TLS hosts and Secret names | Listener and certificate plan |
| LoadBalancer services | DNS cutover and cost plan |
Record TLS state with the same care. Note which Secrets hold certificates, which namespaces hold them, and whether cert-manager issues them. Gateway listeners reference Secrets, and cross namespace references need a ReferenceGrant in the Secret namespace. Teams that skip this step meet the failure during cutover, when the listener stays unprogrammed and the status message points at a reference the route owner cannot fix alone.
Finish the audit with traffic facts. List hostnames by request volume from your current controller metrics, and pick a low volume hostname for the first cutover. Note client IP handling, websocket use, gRPC use, and any long lived connections, because timeout and protocol settings differ between controllers. The Kubernetes production runbook atlas pattern of writing the evidence down before the change applies here: one page per hostname with owner, volume, annotations, and rollback step.
How Does ingress2gateway Convert Ingress to the Kubernetes Gateway API?
In this kubernetes gateway api guide, ingress2gateway converts Ingress host, path, backend, and TLS fields into Gateway and HTTPRoute resources and warns on annotations it cannot translate. Run it against a backup file, fix the GatewayClass name, review listeners and path types, then validate in staging before apply.
ingress2gateway is the SIG Network conversion tool. Version 1.0 shipped in March 2026, and the tool converts Ingress resources into Gateway and HTTPRoute resources. It reads host, path, backend, and TLS fields, converts a set of common Ingress NGINX annotations into filters, and warns about annotations it cannot translate. Treat the output as a reviewed draft, never as an apply ready result.
Install the tool and run it against your backup file first. File input keeps the first run away from the cluster and makes the output easy to diff in review:
go install github.com/kubernetes-sigs/ingress2gateway@v1.0.0
ingress2gateway print --providers=ingress-nginx --input-file=ingress-backup.yaml > gateway-api-resources.yaml
Cluster input works when you want live state:
ingress2gateway print --providers=ingress-nginx --all-namespaces
Read the output with four checks. First, set gatewayClassName on each Gateway to the class your chosen controller installed, because the converter names the class after the old Ingress class. Second, review listeners: hostnames, ports, and TLS settings move from Ingress rules to Gateway listeners, and the grouping may not match your target design of one shared Gateway. Third, check path matches: Ingress pathType ImplementationSpecific paths need a human decision between PathPrefix and Exact. Fourth, read every warning line and map it to the audit buckets from the previous section.
A converted route for a simple host looks like this:
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: shop-web
namespace: shop
spec:
parentRefs:
- name: prod-gateway
namespace: gateway-infra
hostnames:
- shop.example.com
rules:
- matches:
- path:
type: PathPrefix
value: /api
backendRefs:
- name: shop-api
port: 8080
Validate the converted set before apply. Run kubectl apply --dry-run=server against a staging cluster so schema and reference errors surface early. Then apply to staging, read route status conditions, and send test requests through the staging Gateway address with a Host header override. Conversion handles the mechanical half of the migration. The judgement half, meaning listener design, annotation gaps, and TLS ownership, stays with you.
How Do Ingress Annotations Map to the Kubernetes Gateway API?
In this kubernetes gateway api guide, rewrites become URLRewrite filters, redirects become RequestRedirect filters, canary weights become backendRefs weights, and CORS uses the HTTPRoute CORS filter. Rate limits and external auth move to controller policy. Snippet annotations have no safe equivalent and need a redesign decision per use.
Annotations carry the real migration work, so keep a mapping table in the change record and work through it key by key. Gateway API expresses common routing behaviour as typed fields. Anything outside the typed fields moves to a controller policy resource or gets redesigned. Nothing should move silently.
| Ingress NGINX annotation | Gateway API equivalent |
|---|---|
| rewrite-target | HTTPRoute URLRewrite filter with replacePrefixMatch |
| ssl-redirect | HTTPRoute RequestRedirect filter with scheme https |
| permanent-redirect | RequestRedirect filter with statusCode 301 |
| canary plus canary-weight | backendRefs weights on one rule |
| canary-header | matches headers on a separate rule |
| cors related annotations | HTTPRoute CORS filter, Standard since v1.5 |
| auth-url and auth-signin | Controller external auth policy |
| limit-rps and limit-rpm | Controller rate limit policy |
| proxy timeouts | HTTPRoute timeouts where supported, else controller policy |
| configuration-snippet | No equivalent, redesign required |
A rewrite that used to need an annotation becomes a filter on the rule:
rules:
- matches:
- path:
type: PathPrefix
value: /old-api
filters:
- type: URLRewrite
urlRewrite:
path:
type: ReplacePrefixMatch
replacePrefixMatch: /api
backendRefs:
- name: shop-api
port: 8080
An HTTP to HTTPS redirect becomes a route on the HTTP listener with a RequestRedirect filter and no backend. Keep redirects on the HTTP listener only, so HTTPS traffic never loops through a redirect rule.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: http-to-https
namespace: shop
spec:
parentRefs:
- name: prod-gateway
namespace: gateway-infra
sectionName: http
hostnames:
- shop.example.com
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
Two mapping traps deserve care. Path rewrites with capture groups, such as rewrite-target /$1 with use-regex, do not map one to one onto ReplacePrefixMatch. Rewrite those routes as explicit PathPrefix rules per path, or keep a controller specific filter after a documented decision. Session affinity also varies by implementation, so test cookie based affinity in staging when an application depends on it. Mark each annotation in the audit as mapped, policy based, redesigned, or dropped with owner approval. Dropped behaviour without an owner signature is how migrations lose features quietly.
How Do You Configure TLS in the Kubernetes Gateway API with cert-manager?
In this kubernetes gateway api guide, HTTPS listeners terminate TLS with certificateRefs, and cross namespace Secret references need a ReferenceGrant in the Secret namespace. cert-manager needs Gateway API support enabled, wildcard certificates need DNS-01, and BackendTLSPolicy covers TLS from the Gateway to HTTPS only backends.
TLS moves from Ingress spec.tls entries to Gateway listeners. Each HTTPS listener terminates TLS with certificateRefs that point at Secrets. The Gateway reports listener status, and a listener with a broken reference stays unprogrammed while other listeners keep serving. Read listener status per hostname during cutover instead of checking only the Gateway as a whole.
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: prod-gateway
namespace: gateway-infra
spec:
gatewayClassName: eg
listeners:
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
gateway-access: "true"
- name: https
protocol: HTTPS
port: 443
tls:
mode: Terminate
certificateRefs:
- name: shop-wildcard-tls
namespace: certs
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
gateway-access: "true"
The certificate Secret lives in the certs namespace, so the certs namespace must grant the reference:
apiVersion: gateway.networking.k8s.io/v1
kind: ReferenceGrant
metadata:
name: allow-gateway-cert-ref
namespace: certs
spec:
from:
- group: gateway.networking.k8s.io
kind: Gateway
namespace: gateway-infra
to:
- group: ""
kind: Secret
cert-manager can issue certificates for Gateway listeners, and recent cert-manager versions expose Gateway API support behind an explicit setting. Enable it in the Helm values and confirm the installed version supports your Gateway API version:
helm upgrade --install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set crds.enabled=true --set config.enableGatewayAPI=true
Wildcard certificates need DNS-01 challenges. HTTP-01 challenges need the solver route to attach to a Gateway listener, which means the HTTP listener and route permissions must exist before the first issuance attempt. Order the work accordingly: Gateway and ReferenceGrant first, certificate second, HTTPS listener check third, traffic last.
When a backend serves HTTPS only, use BackendTLSPolicy to configure TLS from the Gateway to the backend, including certificate validation. That keeps the two TLS hops explicit: client to Gateway termination, then Gateway to backend origination with its own trust settings. Verify the full chain with openssl s_client against the Gateway address before DNS moves, and check the served certificate name, issuer, and expiry against the audit record.
How Does Traffic Splitting Work in the Kubernetes Gateway API?
In this kubernetes gateway api guide, weighted backendRefs split one rule between two Services, so ninety and ten weights give a native canary lever. Header matches route test traffic to a canary backend. Measure error rate and latency against baseline after each shift and stop when signals degrade.
Weighted backendRefs replace canary annotations. One rule can split traffic between two Services by weight, which gives you a native canary lever for both application releases and controller cutover checks. Weights are relative, so 90 and 10 read as a ninety ten split without percentage maths.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: shop-web-canary
namespace: shop
spec:
parentRefs:
- name: prod-gateway
namespace: gateway-infra
hostnames:
- shop.example.com
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: shop-web-stable
port: 80
weight: 90
- name: shop-web-canary
port: 80
weight: 10
Header based canary routing uses matches. A rule with a header match sends test traffic to the canary backend while the plain rule serves everyone else. Rule order matters less than match specificity, because Gateway API ranks matches by defined precedence, with more specific matches winning.
rules:
- matches:
- headers:
- name: x-canary
value: "true"
backendRefs:
- name: shop-web-canary
port: 80
- backendRefs:
- name: shop-web-stable
port: 80
Use the same mechanism for the controller migration itself. The new Gateway serves the hostname on a new load balancer address, so DNS weight or a low TTL record controls the shift at the edge. Inside the cluster, route weights control application canary steps. Keep the two levers separate in the runbook so a rollback touches one lever at a time.
Measure before you shift. Record baseline error rate and latency per hostname from the old controller, then compare the same signals on the new Gateway after each step. A five percent shift with clean signals beats a fifty percent shift with hope. Pair weight changes with the deployment discipline in the Kubernetes deployment strategies guide, and stop the shift when error budget burn rises, even when the YAML looks correct.
How Do You Cut Over and Roll Back a Kubernetes Gateway API Migration?
In this kubernetes gateway api guide, Ingress and Gateway serve the same hostname side by side during validation. Test the new address with resolve flags and TLS checks, shift DNS with a low TTL, watch one traffic cycle, and roll back by pointing DNS at the old address.
Gateway API supports coexistence. An Ingress and a Gateway can serve the same hostname from one cluster, on different load balancer addresses, while you validate the new path. That property turns the migration into a series of small hostname moves instead of one risky weekend.
Run the cutover per hostname in this order. Apply the Gateway, ReferenceGrants, and HTTPRoutes. Confirm the Gateway address and listener status. Test through the new address with a Host header and with TLS verification against the real hostname. Lower the DNS TTL a day ahead, then shift DNS to the new address. Watch error rate, latency, and backend logs for one full traffic cycle. Remove the old Ingress only after the hostname stays clean.
kubectl get gateway prod-gateway -n gateway-infra
kubectl get httproute -A
kubectl describe httproute shop-web -n shop
curl -sI --resolve shop.example.com:443:203.0.113.10 https://shop.example.com/
curl -s --resolve shop.example.com:443:203.0.113.10 https://shop.example.com/healthz
openssl s_client -connect 203.0.113.10:443 -servername shop.example.com </dev/null
Replace the example address with the Gateway address from status. The resolve flag keeps DNS untouched while you test the exact TLS and routing path clients will use after the shift.
Rollback stays simple while the old Ingress exists: point DNS back to the old load balancer address. Keep the old controller running until every hostname moves and one release cycle passes. Deleting the old controller early converts a DNS rollback into a rebuild.
| Stage | Exit check |
|---|---|
| Gateway applied | Address assigned, listeners programmed |
| Routes applied | Accepted and ResolvedRefs conditions true |
| Pre DNS tests | Host header and TLS checks pass |
| DNS shifted | Error rate and latency match baseline |
| Old Ingress removed | One clean traffic cycle on the new path |
Manage per environment differences with overlays instead of copied YAML. Hostnames, certificate names, and GatewayClass names change per cluster, while routes stay stable. The Kustomize Kubernetes guide for overlays shows the overlay pattern for exactly this split. On EKS, the same flow applies with the AWS Load Balancer Controller as the implementation, and the deploy Kubernetes on AWS guide covers the cluster side of that setup.
Why Does a Kubernetes Gateway API Migration Fail and How Do You Fix It?
In this kubernetes gateway api guide, most failures appear in Gateway and HTTPRoute status conditions before traffic breaks. Accepted and ResolvedRefs conditions point at parent, backend, and Secret reference errors. The troubleshooting table maps each symptom to a likely cause and a fix for cutover day.
Most migration failures announce themselves in status conditions. Read Gateway and HTTPRoute status first, then controller logs, then backend logs. That order separates attachment problems from data plane problems and keeps one fault from hiding behind another.
| Symptom | Likely cause | Fix |
|---|---|---|
| Route Accepted false | Parent Gateway or listener mismatch | Check parentRefs name, namespace, and sectionName |
| ResolvedRefs false | Backend or Secret reference broken | Fix the Service name, port, or ReferenceGrant |
| Listener not programmed | Certificate reference or port conflict | Read listener status and grant the Secret reference |
| 404 from the new Gateway | Hostname or path match misses | Compare route hostnames and matches with the request |
| 503 from the new Gateway | Backend has no ready endpoints | Check Service endpoints and pod readiness |
| TLS handshake failure | Wrong certificate or SNI mismatch | Verify served certificate with openssl s_client |
| Redirect loop | Redirect route attached to HTTPS listener | Attach the redirect route to the HTTP listener only |
| Rewrite returns wrong path | Capture group rewrite mapped by hand | Replace with explicit PathPrefix rules |
| Route works in staging, fails in prod | CRD or controller version drift | Align Gateway API version with controller support |
Keep these production rules after the migration. Pin the Gateway API CRD version and the controller version together in your platform release notes, and upgrade CRDs only after the controller support table confirms the pairing. Alert on route status conditions, not only on HTTP errors, because an unaccepted route fails silently for new hostnames. Track Gateway address changes in the same dashboard as DNS changes. Review ReferenceGrants on a schedule, since each grant widens cross namespace access.
Close the migration with cleanup that has an owner and a date. Remove Ingress NGINX after every hostname moves, delete stale Ingress objects, and archive the annotation audit with the change record. Update runbooks that mention Ingress annotations so the next engineer debugs routes and listeners instead of searching for annotations that no longer exist.
The migration ends when traffic, TLS, and ownership all sit on the new model: platform owns the class, operators own listeners, application teams own routes. That separation is the reason the move is worth the effort. Start with the audit, convert with tooling, review by hand, and shift one hostname at a time. The retired controller keeps running while you work, so a careful pace costs nothing and a rushed cutover risks everything.
Frequently Asked Questions
Direct answers to common technical, architectural, and production troubleshooting questions.
Is the kubernetes gateway api replacing Ingress for new clusters?
Yes. The Ingress API is frozen and Kubernetes documentation recommends Gateway API for new work. GatewayClass, Gateway, and HTTPRoute have been stable since v1.0 in October 2023. Existing Ingress objects keep working, but new routing features land in Gateway API, so new clusters should start there.
Do I need to replace Ingress NGINX now under the kubernetes gateway api migration path?
Plan the move now. The community Ingress NGINX controller retired in March 2026, so no new releases, bug fixes, or security patches arrive. Existing deployments keep running, which gives you time for a parallel migration one hostname at a time instead of an emergency cutover.
Which kubernetes gateway api version should I install?
Install the newest Standard channel version your controller supports. Gateway API v1.7.0 shipped on 29 October 2026, but controller support can trail the CRD release. Check the controller support table, install matching CRDs with server side apply, and record the pairing in your platform release notes.
How do I migrate Ingress annotations to the kubernetes gateway api?
Run ingress2gateway for the mechanical conversion, then map annotations by hand. Rewrites become URLRewrite filters, redirects become RequestRedirect filters, canary weights become backendRefs weights, and CORS uses the HTTPRoute CORS filter. Rate limits and external auth move to controller policy, and snippet annotations need redesign.
How do I roll back a kubernetes gateway api cutover?
Keep the old Ingress and controller running during the migration. Rollback means pointing DNS back to the old load balancer address, which works while the old path still serves the hostname. Remove the old Ingress only after the new Gateway path stays clean for one full traffic cycle.