By on January 21, 2020

Kong Gateway 2.0 GA!

After a full year of development since our last major open source release, we are proud to announce the next chapter of our flagship open-source API gateway — Kong Gateway 2.0 is generally available!

With this release, Kong will become more operationally agnostic for large-scale deployments across on-premises and multi-cloud environments, thanks to the new Hybrid Mode. In addition, plugin development also becomes more language agnostic, thanks to the new Golang PDK support.

Some great release highlights including:

Hybrid Mode Deployment

Also known as Control Plane/Data Plane separation (CP/DP), Hybrid mode allows Kong proxies to be deployed efficiently and securely anywhere, and the entire cluster can be then controlled from a single point (the Control Plane). In this mode, the Data Plane nodes do not connect to the database; instead, their configuration is managed and pushed by the Control Plane as necessary. This feature significantly improves the security and performance of large Kong clusters, while reducing operational costs. To get started with Hybrid Mode deployment, refer to the Hybrid Mode documentation.

Golang PDK Support

Lua is the de-facto language used for writing Kong plugins. While Lua has good performance and is very embeddable, it falls short on developer experience, third party libraries, and general popularity. During Kong Summit 2019, we revealed the Go plugin support for Kong, allowing developers to use Go to develop their plugins entirely.

To help developers get started, we also prepared the Go Plugin Development Guide and Go Plugin Development Kit (PDK) documentations. We can’t wait to see what developers are going to build with them!

ACME (Let’s Encrypt) Support

In the last few years, we have seen a strong push of end-to-end encryption among the industry. HTTPS encryption for your services is nowadays considered a commodity instead of a luxury, thanks to services that provide the ability to automatically provision and manage TLS certificates. We are proud to announce that in Kong Gateway 2.0, end-to-end HTTPS is easier than ever, thanks to the new Automatic Certificate Management Environment (ACME) v2 protocol support and Let’s Encrypt integration. Simply enable the plugin, and Kong takes care of the entire certificate management lifecycle. Interested in trying it out? Please checkout the ACME plugin documentation.

Other Improvements

Please note this above list only touches a fraction of the features/fixes in this version! For a complete list of changes, we encourage you to also read the 2.0.0 Changelog.

Prometheus Plugin Performance

Thanks to some clever tweaks our engineering team has been doing, the Prometheus plugin can now run almost 2x faster (in terms of requests per second).

Extended Support for NGINX Directive Injections

New injection contexts were added for both http and stream subsystems, reducing the need to write custom NGINX templates and facilitating better upgrade compatibility for the user.

Kubernetes Compatibility

The latest Kong for Kubernetes 0.7 release is compatible with Kong Gateway 2.0 out of the box. Get started with Kong for Kubernetes today!

Update Path

With the release of 2.0, we have also released Kong Gateway 1.5, which acts as the bridge between older versions of Kong Gateway and the new 2.x series with the API entity to Service/Route migration tool.

Upgrading directly from 0.x versions of Kong Gateway to 2.x is not supported. Rather, those users should upgrade from 0.x to 1.5 first before upgrading to 2.0.0.

We are officially dropping the support for 0.x versions from now on.

What’s Next

It goes without saying how much work has gone into this release from both Kong employees and our awesome community contributors. Kong Gateway 2.0.0 is available today for download, and we encourage everyone to give it a try. As always, please share your feedback using Kong with us on Kong Nation and check out our future community events to connect with us.

Happy Konging!