kubernetes-ingress

NGINX and NGINX Plus Ingress Controllers for Kubernetes

Github星跟蹤圖

Build Status FOSSA Status License Go Report Card

NGINX Ingress Controller

This repo provides an implementation of an Ingress controller for NGINX and NGINX Plus.

Note: this project is different from the NGINX Ingress controller in kubernetes/ingress-nginx repo. See this doc to find out about the key differences.

What is the Ingress?

The Ingress is a Kubernetes resource that lets you configure an HTTP load balancer for applications running on Kubernetes, represented by one or more Services. Such a load balancer is necessary to deliver those applications to clients outside of the Kubernetes cluster.

The Ingress resource supports the following features:

  • Content-based routing:
    • Host-based routing. For example, routing requests with the host header foo.example.com to one group of services and the host header bar.example.com to another group.
    • Path-based routing. For example, routing requests with the URI that starts with /serviceA to service A and requests with the URI that starts with /serviceB to service B.
  • TLS/SSL termination for each hostname, such as foo.example.com.

See the Ingress User Guide to learn more about the Ingress resource.

What is the Ingress Controller?

The Ingress controller is an application that runs in a cluster and configures an HTTP load balancer according to Ingress resources. The load balancer can be a software load balancer running in the cluster or a hardware or cloud load balancer running externally. Different load balancers require different Ingress controller implementations.

In the case of NGINX, the Ingress controller is deployed in a pod along with the load balancer.

NGINX Ingress Controller

NGINX Ingress controller works with both NGINX and NGINX Plus and supports the standard Ingress features - content-based routing and TLS/SSL termination.

Additionally, several NGINX and NGINX Plus features are available as extensions to the Ingress resource via annotations and the ConfigMap resource. In addition to HTTP, NGINX Ingress controller supports load balancing Websocket, gRPC, TCP and UDP applications. See ConfigMap and Annotations docs to learn more about the supported features and customization options.

As an alternative to the Ingress, NGINX Ingress controller supports the VirtualServer and VirtualServerRoute resources. They enable use cases not supported with the Ingress resource, such as traffic splitting and advanced content-based routing. See VirtualServer and VirtualServerRoute Resources doc.

Read this doc to learn more about NGINX Ingress controller with NGINX Plus.

Getting Started

  1. Install the NGINX Ingress controller using the Kubernetes manifests or the helm chart.
  2. Configure load balancing for a simple web application:
  3. See additional configuration examples.
  4. Learn more about all available configuration and customization in the docs.

NGINX Ingress Controller Releases

We publish Ingress controller releases on GitHub. See our releases page.

The latest stable release is 1.6.2. For production use, we recommend that you choose the latest stable release. As an alternative, you can choose the edge version built from the latest commit from the master branch. The edge version is useful for experimenting with new features that are not yet published in a stable release.

To use the Ingress controller, you need to have access to:

  • An Ingress controller image.
  • Installation manifests or a Helm chart.
  • Documentation and examples.

It is important that the versions of those things above match.

The table below summarizes the options regarding the images, manifests, helm chart, documentation and examples and gives your links to the correct versions:, Version, Description, Image for NGINX, Image for NGINX Plus, Installation Manifests and Helm Chart, Documentation and Examples, -------, -----------, ---------------, --------------------, ---------------------------------------, --------------------------, Latest stable release, For production use, nginx/nginx-ingress:1.6.2, nginx/nginx-ingress:1.6.2-alpine from DockerHub or build your own image., Build your own image., Manifests. Helm chart., Documentation. Examples., Edge, For testing and experimenting, nginx/nginx-ingress:edge, nginx/nginx-ingress:edge-alpine from DockerHub or build your own image., Build your own image., Manifests. Helm chart., Documentation. Examples., ## Contacts

We’d like to hear your feedback! If you have any suggestions or experience issues with our Ingress controller, please create an issue or send a pull request on Github.
You can contact us directly via kubernetes@nginx.com.

Contributing

If you'd like to contribute to the project, please read our Contributing guide.

Support

For NGINX Plus customers NGINX Ingress controller (when used with NGINX Plus) is covered
by the support contract.

主要指標

概覽
名稱與所有者nginx/kubernetes-ingress
主編程語言Go
編程語言Makefile (語言數: 7)
平台
許可證Apache License 2.0
所有者活动
創建於2016-03-10 03:45:12
推送於2025-07-15 11:08:07
最后一次提交
發布數99
最新版本名稱v5.1.0 (發布於 2025-07-08 13:38:57)
第一版名稱v0.3 (發布於 2016-10-20 11:29:42)
用户参与
星數4.8k
關注者數103
派生數2k
提交數4.7k
已啟用問題?
問題數1477
打開的問題數149
拉請求數5091
打開的拉請求數19
關閉的拉請求數1191
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?