Kubernetes Gateway API

Gateway API gives a self-managed Kubernetes cluster a role-based model for ingress, separating platform-owned listeners from application-owned routes. This page covers the resource model, the trade-offs in choosing an implementation, and the setup and checks involved.

On this page

When a Kubernetes Gateway API rollout makes sense for your cluster

Adopt Gateway API when ingress in your self-managed cluster is shared across several teams and the Ingress resource no longer matches who owns which hostnames, TLS settings and routing rules. Gateway API is the Kubernetes model for describing how traffic enters a cluster and where it goes, split into separate resources so that the people who run the platform and the people who ship applications can each control their own part. It is a fit when a single Ingress object has become a shared file that application teams edit, when you need to delegate hostname or route ownership to namespaces, or when policy such as which namespaces may attach to a listener has to be enforced by the platform rather than by convention. If every team uses one hostname and one simple rule, the existing Ingress setup may still be adequate, and the migration cost should be weighed against that.

The model has three layers. A GatewayClass is owned by the platform team and names the controller that implements the gateways, so it fixes which implementation handles your traffic. A Gateway is also usually platform-owned: it declares listeners, ports, TLS certificate references and which namespaces may attach routes. Route resources such as HTTPRoute are owned by application teams and bind to a Gateway to define hostnames, paths and backends. Before committing, confirm which Gateway API version and which route kinds your chosen implementation supports, since support varies by controller. The networking and ingress group covers the CNI plugin, load balancer and DNS choices separately, and those decisions still determine how traffic reaches the Gateway.

A practical first step is an inventory: list every Ingress, its owning team, its TLS source and any annotations that carry vendor-specific behavior, because annotations do not translate automatically. Ask your team which of those annotations the target implementation can express natively and which need a policy or a rewrite. Also decide who may create Gateways, who may attach routes, and how certificates are issued and rotated, since these choices define your RBAC and namespace model. Treat the rollout as a design exercise with a named platform owner, not a simple resource swap, and confirm each of these answers with the implementation's own documentation and your security team before work begins.

How GatewayClass, Gateway and routes connect

The flow starts with a GatewayClass that the platform team owns and points at one implementation controller. A platform-owned Gateway then binds listeners and TLS certificates, and it accepts HTTPRoute objects only from namespaces it allows. Application teams attach their routes to that Gateway, and the controller programs the data plane from the combined state. Check the boundary: app teams should edit routes, not listeners or certificates.

Platform-owned resources sit above the boundary, and application routes attach below it.

Which implementation and configuration fits your cluster

A managed load balancer design places a cloud or data center load balancer in front of the Gateway, so the external address, TLS termination point and health checks sit outside the cluster. This fits organizations that already have a load balancer team, hardware or cloud appliances with change control, or network security policies that require traffic to pass through a device they operate.

  • Ownership boundary: The platform team usually owns the load balancer and the Gateway listeners, while application teams own routes. Confirm who can change listener configuration and who approves it.
  • Address management: The external address is assigned by the load balancer or cloud provider integration. Confirm how addresses are allocated, reserved and recorded for DNS.
  • Certificate handling: Decide whether TLS terminates at the load balancer, at the Gateway, or both, and where certificates are stored and renewed.
  • Health checks and failover: Confirm which component health checks the Gateway pods and how traffic is withdrawn when a node fails.
  • Integration support: Confirm with your implementation and load balancer vendor which Gateway resources the controller can provision and update automatically.

Before committing, confirm that your load balancer integration supports the Gateway API features you plan to use, since support varies by controller and environment.

Setup sequence for Gateway API in a self-managed cluster

This sequence takes a self-managed cluster from no Gateway API support to a platform-owned Gateway that application teams can attach routes to, with a check at each stage so problems surface before workloads depend on the setup.

  1. Confirm the implementation and matching CRD version

    Before touching the cluster, the platform team checks which Gateway API version the chosen implementation supports and records it in the change plan. Install only the CRD bundle that version calls for, since the implementation's documentation is the authority on compatible versions. Confirm the Kubernetes version of your cluster is also supported by both the implementation and the CRDs. Done when the version pairing is written down and reviewed by the team that owns the cluster. Ask the implementation vendor or project which Gateway API versions and conformance profiles it has tested.

  2. Install the Gateway API CRDs

    The platform team applies the standard Gateway API CRDs for the agreed version, usually from the project's published release manifests copied into your internal artifact store. Confirm that the GatewayClass, Gateway, HTTPRoute and related resource types are registered and that the API server serves them. Check with kubectl api-resources filtered on the gateway.networking.k8s.io group. Done when every expected resource appears in the output and no CRD reports an error during apply.

  3. Select and install the implementation controller

    Install the chosen controller, such as a gateway proxy or ingress-compatible controller, into its own namespace with the platform team owning the release. Decide how the controller is exposed to the network, for example through a load balancer service or host ports, and confirm this with your network team. Verify the controller deployment is ready and its logs show it has started and found the Gateway API CRDs. Done when the controller pods are running and healthy with no CRD-related errors in their logs.

  4. Create the GatewayClass and platform Gateway

    The platform team creates a GatewayClass that points at the installed controller, then creates a Gateway in a platform-owned namespace with the listeners, ports and TLS certificate references the organization approved. Keep route attachment rules explicit so only permitted namespaces can bind routes to this Gateway. Confirm the Gateway's Accepted and Programmed conditions report True and that an address is assigned. Done when the Gateway shows the expected listeners and an address, and the controller reports it programmed the data plane.

  5. Attach application routes to the Gateway

    Application teams create HTTPRoute or other route resources in their own namespaces and reference the platform Gateway as their parent. Each route defines hostnames, path matches and backend services for that application only. The platform team confirms that the allowed-namespace rules let the route attach and that no team can claim hostnames outside its agreed domain. Done when a test route for one application returns the expected response through the Gateway address.

  6. Check status conditions on every resource

    Inspect the status of the GatewayClass, Gateway and each route, looking at the parent status entries that controllers write for each resource. A route should show it was accepted by the parent Gateway and that its references resolved, such as backend services and TLS secrets. Failed references and rejected attachments usually show up here before traffic does. Done when every resource shows the accepted and resolved conditions as True, and any False condition has a recorded cause and fix.

  7. Prepare an air-gapped image source

    In a network without internet access, mirror every container image the CRDs' controller and its proxy need into a private registry before installation, and point the deployment manifests or Helm values at that registry. The same principle applies to kubeadm, which uses an image repository setting in kubeadm init to pull control plane images from a private registry, after images are listed with kubeadm config images list and pulled. Confirm that no pod in the Gateway namespace pulls from a public registry by checking image fields across the deployment. Done when all pods start from the private registry and a pull test from a worker node succeeds.

How platform and application teams split Gateway API responsibilities

The main reason to adopt Gateway API is that its resource model lets one team own the shared entry points while other teams own their own routing. In practice, the platform team owns the GatewayClass, the Gateway listeners, the TLS certificates referenced by those listeners, and the allowedRoutes rules that decide which namespaces may attach routes. Application teams then write HTTPRoute objects in their own namespaces, describing hostnames, path matches and backends for their services. Because a Gateway only accepts routes that its listener permits, the platform team can decide, in one place, which hostnames and namespaces are allowed to publish traffic through a shared load balancer. Confirm with your chosen implementation how it reports attachment status and whether it supports label selectors in allowedRoutes, since those details determine how much control the platform side actually keeps.

Migrating from Ingress changes ownership more than it changes syntax. A single Ingress object often mixes host ownership, TLS and application paths, so whoever edits it may touch things they should not. Before rollout, define a governance process that answers a few questions: which team may create a Gateway, who approves a new listener or hostname, how certificates are requested and rotated, which namespaces may attach routes, and how route conflicts between teams are resolved. Write these rules down as a short runbook and decide who can change platform-owned resources, since RBAC on Gateway and GatewayClass objects is separate from RBAC on routes. Plan a period where both Ingress and Gateway run side by side so that application teams can move their routes one service at a time, and agree on the exit criteria for retiring the old Ingress objects. The Kubernetes Gateway API documentation is the natural next read for the exact fields involved.

Security and operational risks of exposing services through Gateway API

A Gateway API setup concentrates traffic entry, TLS material and routing rules in a few shared objects. The cards below cover the access, secret, namespace, controller and audit controls that decide whether that concentration stays manageable.

Who can change Gateways and routes

A Gateway defines the listeners and addresses a cluster exposes, and a route decides where traffic goes. Anyone with write access to these objects can open a new port, redirect a hostname or expose an internal service. Review the RBAC rules that grant create, update and patch on Gateway and route resources, and confirm that application teams can manage only their own HTTPRoutes while platform owners control the Gateway itself.

Kubernetes authentication docs

TLS certificates and Secret access

Gateway listeners usually reference TLS certificates stored as Kubernetes Secrets. Any principal that can read those Secrets can copy the private keys, and list or watch access exposes them even faster. Check which service accounts and users can read Secrets in the Gateway namespace, and decide whether certificates come from a cert manager, an external store or a manual process with a clear renewal owner.

Namespace route attachment limits

Listeners can control which namespaces are allowed to attach routes to them. A permissive setting lets a team in any namespace bind a route to a production hostname, while a narrow setting blocks legitimate traffic and prompts workarounds. Write the allowed namespace policy for each listener on purpose, and test it with a route from an unapproved namespace to confirm it is rejected.

Secrets stored unencrypted in etcd

Kubernetes stores Secrets unencrypted in etcd by default, so anyone who can read etcd backups or snapshots can recover certificate keys and other credentials. Configure encryption at rest for Secrets before the Gateway carries production TLS, restrict list and watch access with least-privilege RBAC, and confirm that etcd backups receive the same protection as the cluster itself.

Pod Security Standards for controller pods

Gateway API implementations run controller and data plane pods that often need elevated network capabilities to bind low ports. Decide which Pod Security Standard level applies to the namespace that hosts them, and whether the Baseline or Restricted level is achievable with the chosen implementation. Document any exception and keep it limited to the namespace that needs it.

Pod Security Standards

Audit logging of ingress changes

Changes to Gateways, routes and listener Secrets determine what the public internet can reach, so they need an audit trail. Confirm that the API server audit policy records create, update and delete events for these resources, that logs are shipped off the cluster, and that someone reviews them. The CIS Kubernetes Benchmark, a consensus secure configuration guide, is a useful reference for checking the cluster settings behind these controls.

CIS Kubernetes Benchmark

Questions buyers ask about Gateway API cost, effort and ownership

What drives the effort of a Gateway API migration from Ingress?

The effort depends mainly on how many Ingress objects exist, how many of them rely on controller-specific annotations, and how many distinct traffic patterns they carry. Each Ingress rule with TLS, redirects, header rewrites, timeouts or authentication needs a matching Gateway and route design, and annotation-based behavior often has no direct equivalent that must be verified in the chosen implementation. Other drivers include the number of shared load balancers and domains, the number of teams publishing routes, and how much parallel running is needed to move traffic safely. Ask any provider to inventory Ingress objects and annotations first, because that inventory sets the scope more than any other input.

Can our in-house team plan and run a Gateway API migration themselves?

Often yes, if the team already runs Kubernetes networking in production and has someone who understands the chosen implementation's controller, its load balancer integration and its supported route features. The harder parts are usually not the YAML but the decisions: which team owns the GatewayClass and Gateway, how routes from application teams are admitted, how TLS certificates are issued and rotated, and how to cut traffic over without downtime. Teams without recent ingress or load balancer experience tend to underestimate testing across environments. A written scope makes it clear which parts your staff can take on and which would benefit from outside help.

What does the work need from our side before it starts?

Expect to provide access and information rather than hands-on time alone. You will need cluster access with rights to install controllers and the chosen CRDs, a current inventory of Ingress resources and their annotations, and a list of hostnames and DNS zones with the people who control them. Certificates must be decided in advance, whether issued by cert-manager, a corporate CA or a cloud provider, along with the process for renewal. You should also name an owner for platform resources such as GatewayClass and Gateway objects, plus contacts in each application team who will approve route changes during cutover. Missing owners are one of the most common causes of delay.

How long does a Gateway API migration take?

Duration depends on route count, environment count, the number of load balancers and domains, and how many annotation-dependent behaviors need redesign. A single cluster with a small set of simple routes is a very different job from many clusters with dozens of teams and shared TLS policies. Environments also set the pace: production cutover usually follows staging validation and a change window agreed with application owners. No duration is given here because no researched figure applies to your environment. Ask for a timeline tied to the inventory and to named milestones in the written scope.

What recurs after go-live, such as upgrades and implementation updates?

Gateway API itself ships in versions with defined channels and CRDs, and the implementation you choose has its own release cycle, so both need planned upgrades. Kubernetes runs about three minor releases per year on a cycle of roughly 14 weeks, and the project maintains the three most recent minors, so a Gateway controller must stay compatible with your cluster version over time. Plan for certificate renewal, monitoring of gateway health, periodic review of route ownership, and testing before each controller upgrade. Confirm with the implementation vendor which CRD versions and Kubernetes versions each release supports before you commit to a support model.

Who pays for what in a Gateway API engagement, and what is one-time versus recurring?

In a fixed-scope engagement, the one-time costs usually cover discovery, design of GatewayClass, Gateway and route ownership, implementation selection and installation, migration of routes, testing and documentation. Recurring costs include the cloud or hardware load balancers that carry traffic, the staff time to review routes, the certificate and DNS processes, and any support subscription or retainer for upgrades and updates. Licensing differs by implementation, so confirm whether the chosen project carries commercial support terms. Ask any provider to split the quote into one-time and recurring items and to state which parts are included in the written scope.

How does a quote follow from a written scope?

DeployOpen does not publish a price list. Most engagements are fixed-scope, so a quote follows from a written scope that names the clusters and environments, the Ingress inventory to be migrated, the implementation to be installed, the routes and TLS policies in scope, the cutover approach, the deliverables and the timeline. Changes to any of these items are handled as scope changes in writing before work continues. To compare quotes, ask each provider to state its assumptions about route count, annotation complexity, environment count and client responsibilities, since those assumptions determine most of the difference in price.

Moving existing Ingress resources to Gateway API

The safest migration runs old and new routing side by side until the new path has proven itself. Start by inventorying every Ingress object in the cluster, including its ingressClassName, TLS secrets, default backends and the controller-specific annotations that many teams set for timeouts, body size limits, rewrites, authentication and canary weights. Standard Ingress fields map fairly directly to HTTPRoute rules, but annotations do not. Each one needs a named equivalent in the chosen implementation, a documented workaround, or an explicit decision to drop it. Confirm these equivalents against the implementation's own documentation and a test deployment, because some behaviors are configured on the Gateway or through implementation policy resources rather than on the route.

Once the inventory is complete, create the Gateway and matching HTTPRoute objects for each service, but attach them to a separate test hostname or a second Gateway with its own address. Run the same smoke tests, header checks, TLS verification, redirect behavior and load tests against both paths, and compare the results. Keep the Ingress resources untouched during this phase so the rollback is a DNS change, not a redeployment. Reviewers should confirm that the route attachment, listener hostnames and allowed namespaces behave as the platform team's policy intends, since a route that attaches to the wrong listener can expose a service unexpectedly.

Cut DNS over only after the test results are signed off by the owning application teams. Lower the record TTL well before the change so a rollback propagates quickly, then move one low-risk hostname at a time and watch error rates, latency and certificate status. Remove the Ingress objects only after a agreed observation period, and record which annotations were replaced, which were dropped and why, so the decision trail survives staff changes. The Gateway API project's own migration guidance and the implementation's documentation are the natural next reads for exact field mappings. Confirm the supported Gateway API version and the conformance level of your chosen implementation before you start.

How DeployOpen scopes a Gateway API engagement

A Gateway API engagement starts with a written scope agreed before any cluster change is made. The scope names the clusters, the namespaces and teams that will own resources, the traffic types in play (HTTP, HTTPS, TLS passthrough, TCP or UDP), and the current ingress objects that must be translated. It also fixes the deliverables and acceptance checks for each phase, so that the reader knows what is handed over and how it is tested. Most engagements are fixed-scope, which means the scope document, deliverables and timeline are settled in writing, and a quote follows from that document. Ask for the scope to list which Gateway API version and CRD channel is expected in the target cluster, since the installed CRDs and the implementation's supported versions determine what can be built.

The scope should cover five stages: design, implementation selection, build, cutover and handover. Design defines the GatewayClass that the platform team owns, the Gateway resources with their listeners and allowedRoutes settings, and the HTTPRoute and other route objects that application teams own. Implementation selection compares candidate controllers against the traffic and TLS requirements written in the design. Build covers installing the controller, creating TLS secrets or certificate integration, and proving the routes in a non-production cluster. Cutover moves traffic from existing Ingress objects or a load balancer, with a rollback path. Documentation and handover cover runbooks, ownership rules for each namespace, and the checks the platform team runs after handover. Ask the provider to name who performs each stage and which stage is priced separately.

DeployOpen does not issue compliance attestations, audit reports or certifications. Where the organization needs evidence for a framework, DeployOpen prepares the configuration records, role assignments, route ownership maps, TLS settings and test results that an independent auditor will review, and the scope should say which of those artifacts are delivered. Confirm with your auditor which evidence format they accept before work starts, because the same routing configuration can be documented in different ways. The written scope should also state who keeps the artifacts after handover and how they are updated when the gateway implementation is upgraded.

How DeployOpen delivers and supports Gateway API

DeployOpen plans, builds, documents and supports Gateway API ingress inside your own clusters and infrastructure. We start with a written scope that divides platform and application responsibilities, then build and test the GatewayClass, Gateway and route resources before handing them over to your teams.

How we scope

  • Engagements are fixed-scope, with the Gateway API deliverables agreed in writing before work starts.
  • The scope names which GatewayClass, Gateway and route resources the platform team owns and which the application teams own.
  • We confirm the chosen implementation's supported Gateway API features against the cluster version and your traffic requirements.

How we build

  • We configure the chosen implementation, TLS certificates and listeners in your cluster, following your naming and namespace conventions.
  • Route attachment rules, allowed namespaces and hostname policies are set so application teams can publish routes within agreed limits.
  • We test routing, TLS termination and failover behavior in a non-production cluster before any production traffic moves.

How we hand over

  • You receive documentation of the GatewayClass, Gateway and route design, including the ownership boundary for each resource.
  • Runbooks cover adding a listener, issuing a certificate, troubleshooting an unattached route and rolling back a change.
  • We walk your platform and application teams through the resources they will manage and the review steps for route changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, covering gateway implementation and Gateway API version changes.
  • Upgrades of the Gateway API CRDs and the implementation are planned against your cluster's Kubernetes version and skew limits.
  • Retesting after changes confirms that routes, policies and TLS settings still behave as documented before each release.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.