kgateway is a free, open source api development & testing project written in Go and released under Apache-2.0. It has 5,688 GitHub stars, 810 forks and 231 open issues, and was last pushed 4 hours ago. On this registry it ranks #41 of 103 tracked projects in API Development & Testing, with 5 head-to-head comparisons available.

What is kgateway?

kgateway is an Apache-2.0, Go-based control plane that implements the Kubernetes Gateway API for Envoy, giving platform and API teams a cloud-native API gateway for microservices, serverless functions and legacy backends across any cloud or environment.

What it is

kgateway is a Cloud Native Computing Foundation sandbox project that acts as a control plane for Envoy, programmed through the Kubernetes Gateway API. It was launched in 2018 as Gloo by Solo.io and has been production-ready since 2019, and it has evolved into a gateway that the project describes as the most mature and widely deployed in the market today. The codebase is written in Go and licensed under Apache-2.0, with 5,688 stars and 810 forks on GitHub.

The problem it solves is the gap between Kubernetes networking primitives and the policy layer that APIs actually need. Rather than hand-writing Envoy configuration or maintaining a per-team ingress setup, operators declare routes and policies through the Gateway API and let kgateway program Envoy. It lives squarely in the Kubernetes ecosystem and takes the place of bespoke Kubernetes ingress controllers and manual Envoy configuration, putting authentication, authorization and rate limiting in a single declared place. The same control plane scales from lightweight microgateway deployments between services up to centralized gateways that the README says handle billions of API calls.

Key capabilities

  • Control plane implements the Kubernetes Gateway API for Envoy, so routing is declarative rather than hand-configured.
  • Applies API policies in one place, including authentication, authorization and rate limiting.
  • Supports route delegation and composable policies so multiple personas and teams can express APIs in the same cluster.
  • Routes to backends implemented as microservices, serverless functions or legacy apps, enabling gradual migration off legacy code while existing systems keep running.
  • Carries the kubernetes-ingress-controller role alongside api-management, grpc and hybrid-apps in its topic set.
  • Scales from microgateway deployments between services to massively parallel centralized gateways, per the project's own description.
  • From version 2.3.0, the agentgateway control plane moved to the separate agentgateway repository, leaving kgateway focused on Envoy-powered API gateway duties.

Who uses it and how

  • Platform and infrastructure teams running Kubernetes who need a shared, policy-driven entry point for APIs instead of per-service ingress definitions.
  • Organizations mid-migration that run microservices, serverless functions and legacy applications side by side, using routing to shift traffic gradually.
  • Multi-tenant environments where several teams and personas share a cluster and rely on route delegation and composable policies to keep ownership separate.
  • Large-scale operators: the project states it processes billions of API requests for many of the world's biggest companies.
  • Teams replacing an existing Kubernetes ingress controller with a Gateway API-native gateway backed by Envoy.

Getting started

Installation and run instructions are published on the project site at https://kgateway.dev, with documentation at https://kgateway.dev/docs. Contributors start from devel/contributing/README.md, and release mechanics are described in devel/contributing/releasing.md.

How it compares

The provided facts do not list any paid products that kgateway replaces, and they name no directly competing gateway in this registry, so it stands alone here. Its only named relations are beneath it rather than beside it: Envoy as the data plane, the Kubernetes Gateway API as the configuration surface, and agentgateway as a sibling project that now owns the AI and agentic control plane. Anyone weighing it against another gateway should do that comparison outside this entry, since the facts here supply nothing to compare on licence, hosting or cost model.

When to use it — and when not to

A self-hoster needs a Kubernetes cluster and an Envoy data plane to operate, and should expect to manage policy, routing and upgrade cycles themselves; the README excerpt documents no database, object storage or SMTP dependency. Do not pick kgateway if the requirement is an AI or agentic gateway, because that control plane moved to the agentgateway repository at version 2.3.0 and is no longer part of this project's scope. The repository also carries 231 open issues and an excerpt that points to external docs rather than inline install commands, so teams wanting a single self-contained quickstart should read https://kgateway.dev/docs before committing.

project readme (upstream, from github) — read inline

kgateway
The most widely deployed gateway in Kubernetes for microservices

Release License: Apache 2.0 Stars OpenSSF Best Practices

About kgateway

Kgateway is the most mature and widely deployed gateway in the market today. Built on open source and open standards, kgateway is a resilient and performance-oriented control plane that implements the Kubernetes Gateway API for Envoy.

With a control plane that scales from lightweight microgateway deployments between services to massively parallel centralized gateways handling billions of API calls, kgateway brings omni-directional API connectivity to any cloud and any environment.

Use Cases

Kgateway is designed for:

  • Next-Gen API Gateway: Expose APIs and apply policies like authentication, authorization and rate limiting in one place. Powered by Envoy and programmed with the Gateway API, kgateway is a world-leading Cloud Native API Gateway.

  • Hybrid Application Migration: Route to backends implemented as microservices, serverless functions or legacy apps. Gradually migrate from legacy code while maintaining existing systems.

  • Complex Tenancy Environments: Multiple personas and teams can work with kgateway to express their APIs, with concepts like route delegation and composable policies.

Kgateway is feature-rich, fast, and flexible. It excels in function-level routing, supports legacy apps, microservices and serverless, offers robust discovery capabilities, integrates seamlessly with open-source projects, and is designed to support hybrid applications with various technologies, architectures, protocols, and clouds.

[!IMPORTANT] Kgateway previously acted as a control plane for the agentgateway dataplane to enable several AI and agentic features. Starting with version 2.3.0, the control plane for agentgateway has been migrated to the agentgateway repo, enabling a singular focus for kgateway to be a stable, robust, and battle-tested API Gateway powered by Envoy.

History

The project was launched in 2018 as Gloo by Solo.io and has been production-ready since 2019. Since then, it has steadily evolved to become the most trusted and feature-rich API gateway for Kubernetes, processing billions of API requests for many of the world's biggest companies. Please see the migration plan for more information about the transition from Gloo to kgateway.

Get involved

Contributing to kgateway

Please refer to devel/contributing/README.md as a starting point for contributing to the project.

Releasing kgateway

Please refer to devel/contributing/releasing.md as a starting point for understanding releases of the project.

Security

See our SECURITY.md file for details.

Thanks

Kgateway would not be possible without the valuable open source work of projects in the community. We would like to extend a special thank-you to Envoy and agentgateway, the two data planes upon which we build our dual control plane architecture.

Contributors

Thanks to all contributors who are helping to make kgateway better!


Cloud Native Computing Foundation logo

kgateway is a Cloud Native Computing Foundation sandbox project.

Frequently asked questions

Is kgateway free to use?

kgateway is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does kgateway do?

The Cloud-Native API Gateway and AI Gateway

What is kgateway written in?

kgateway is primarily written in Go. Its source is publicly available at https://github.com/kgateway-dev/kgateway, and it has 5,688 GitHub stars.