Configure NGINX Ingress Controller¶
Use the MKE web UI to enable and configure the NGINX Ingress Controller.
Log in to the MKE web UI as an administrator.
Using the left-side navigation panel, navigate to <user name> > Admin Settings > Ingress.
In the Kubernetes tab, toggle the HTTP Ingress Controller for Kubernetes slider to the right.
Under Configure proxy, specify the NGINX Ingress Controller service node ports through which external traffic can enter the cluster.
Verify that the specified node ports are open.
Note
On production applications, it is typical to expose services using the load balancer that your cloud provider offers.
Optional. Create a layer 7 load balancer in front of multiple nodes by toggling the External IP slider to the right and adding a list of external IP addresses to the NGINX Ingress Controller service.
Specify how to scale load balancing by setting the number of replicas.
Specify placement rules and load balancer configurations.
Specify any additional NGINX configuration options you require. Refer to the NGINX documentation for the complete list of configuration options.
Click Save.
Note
The NGINX Ingress Controller implements all Kubernetes Ingress resources
with the IngressClassName
of nginx-default
, regardless of which
namespace they are created in.
Note
The Ingress Controller implements any new Kubernetes Ingress resource
that is created without IngressClassName
.