kgateway-dev /kgateway
The Cloud-Native API Gateway and AI Gateway
★ 5,738⑂ 832👁 99⑃ 8,809● 6,135▤ 1,250
+1
日增长
5,738
stars
832
forks
99
watchers
8,809
prs
6,135
issues
1,250
releases
README
The most widely deployed gateway in Kubernetes for microservices
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
- Join us on our Slack channel
- Check out the docs
- Read the kgateway blog
- Learn more about the community
- Watch a video on our YouTube channel
- Follow us on X, Bluesky, Mastodon or LinkedIn
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 agTop issues
#13292oauth2/oidc: AccessToken rejected on client (due to size > 4096bytes)21 comments · 2026-01-14#8634Transformations: Ability to append a value to a set of multi value headers16 comments · 2023-09-01#6436Rate-Limit stops working15 comments · 2022-05-10#13282Add translation metrics for policies14 comments · 2026-01-13#11446Enforce order of plugins12 comments · 2025-06-18#9393Add "from_cookies" to jwt11 comments · 2024-04-22#11983BackendConfigPolicy accepted by kgateway rejected by envoy10 comments · 2025-08-13#14264xDS / NACK - Never recovers after a bad route is fixed9 comments · 2026-06-16
Discussions
#13998Rethinking BackendConfigPolicy and BackendTLSPolicy merge semantics0 comments · 2026-05-07#13942How to enforce DPoP in kgateway?0 comments · 2026-04-29#13808Configurable HTTP filter chain ordering5 comments · 2026-04-07#13677Trying to enable KGW_ENABLE_AGENTGATEWAY during kgateway installation1 comments · 2026-03-18#13638How do I set the kgateway LoadBalancer to RequireDualStack?1 comments · 2026-03-11#13522What would be the main difference between kgateway and Envoy Gateway?0 comments · 2026-02-15#13471How to pass initial metadata to ext proc server after configuring GatewayExtension0 comments · 2026-02-05#13469WAF integration4 comments · 2026-02-04
Latest release
v2.5.2 v2.5.2 2026-11-13🎉 Welcome to the v2.5.2 release of the kgateway project! --- Release Notes Changes since v2.5.1 Bug Fixes TrafficPolicy now accepts retry.perTryTimeout together with timeouts.request: 0s (timeout disabled), and a per-try timeout equal to the request timeout, matching HTTPRoute. (15038) Dependency Updates Bump Go to 1.27.4 to address CVE-2026-97054, and bump rustix to 1.1.6 to address RUSTSEC-2026-0486. (15031) Contributors Thanks to all the contributors who made this release possible: Installation The kgateway project is available as a Helm chart