NGINX.COM
Web Server Load Balancing with NGINX Plus

Red Hat OpenShift is a container platform built on top of Kubernetes, the leading container orchestration and management system. OpenShift is available both as an open source project, OpenShift Origin, and a commercially supported product, OpenShift Container Platform.

With the release of OpenShift Container Platform 3.10 you can use NGINX Plus, our software load balancer with advanced features and full commercial support, to optimize traffic handling for your production OpenShift clusters.

OpenShift adds developer and operations‑centric tools on top of Kubernetes and extends it with security and other integrated features. One of those features, called the Router, provides edge request routing and load balancing for applications deployed on OpenShift. We are happy to confirm that NGINX Open Source and NGINX Plus now fully integrate with the OpenShift platform, and each can be used as a Router.

What Is the Router?

The Router acts as the entry point for all external requests coming to applications running on OpenShift, which makes the Router one of the most critical parts of the platform. The Router’s job is to identify the appropriate application for a particular request and then route the request to an instance of that application. Thus, the Router provides edge load balancing for applications on OpenShift.

The Router load balances HTTP and WebSocket traffic, with support for TLS termination and TLS connections between the Router and application instances. Additionally, the Router can load balance TLS connections in a pass‑through mode (without decrypting them). OpenShift includes a special resource named Route for configuring the Router.

If the Router goes down, or isn’t able to operate properly, applications become unavailable to clients. This makes it crucial that the Router be built on top of a proven and reliable technology. The Router is a pluggable part of OpenShift, meaning that OpenShift users can choose a Router implementation that satisfies their requirements and preferences.

A note about Kubernetes Ingress: The built‑in Kubernetes Ingress resource, also available in OpenShift, offers similar features for edge load balancing as the Router. Both NGINX Open Source and NGINX Plus support Ingress resources with our NGINX Ingress Controller.

NGINX Open Source and NGINX Plus Routers

NGINX has a proven record of adoption on container platforms, with more than 10 million pulls from Docker Hub of its container image and more than a million pulls of NGINX Ingress Controller for Kubernetes. We are excited to extend our existing offerings to OpenShift users with Router implementations built on top of our technology.

Key features of our Router implementations include:

  • Full support of the Route specification. NGINX Router fully supports the features defined by the Route resource.
  • Customization options. Various customization options and extra features are available through environment variables and Route annotations – a common approach in other Router implementations.
  • Familiar operational experience. NGINX Router is integrated in OpenShift through the Template Router software, the same software that underpins the default Router implementation. As a result, you get the familiar operational experience, which makes it easier to migrate from the default Router implementation.
  • NGINX performance and stability. With NGINX Router you get the performance and reliability of NGINX software.
  • Latest NGINX features. We are also excited to bring our new features, such as native support for gRPC load balancing, into the OpenShift Router. As new features are made available in NGINX Open Source and NGINX Plus, they can be incorporated into the Router’s capabilities.
  • Open source. The implementation of the NGINX Router is fully open source.
  • Advanced features. With the NGINX Plus Router, you get the additional benefits of NGINX Plus, such as its monitoring API and dashboard.

diagram showing the NGINX Plus Router in an OpenShift deployment

How to Get Started

To get started, see installation instructions for the NGINX Router and the NGINX Plus Router.

Summary

The NGINX Open Source and NGINX Plus Routers bring reliability, performance, and needed features into a core component of the OpenShift platform – the Router.

We’d like to thank our colleagues at Red Hat who helped us create this full‑featured solution for both OpenShift Container Platform and OpenShift Origin.

Hero image
Container Networking: From Docker to Kubernetes

An in‑depth look at container networking, container orchestration, and service discovery



About The Author

Michael Pleshakov

Michael Pleshakov

Platform Integration Engineer

About F5 NGINX

F5, Inc. is the company behind NGINX, the popular open source project. We offer a suite of technologies for developing and delivering modern applications. Together with F5, our combined solution bridges the gap between NetOps and DevOps, with multi-cloud application services that span from code to customer.

Learn more at nginx.com or join the conversation by following @nginx on Twitter.