--- title: Nginx Ingress Controller --- [Nginx Ingress controller](https://kubernetes.github.io/ingress-nginx/) is an Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer. ## Install ```shell vela addon enable ingrss-controller ``` ## Setup with Specified Service Type There are three service types for this addon which aligned with Kubernetes service, they're `ClusterIP`, `NodePort` and `LoadBalancer`. By default the service type is ClusterIP for security. - `LoadBalancer` type requires your cluster has cloud LoadBalancer available. ```shell script vela addon enable ingrss-controller serviceType=LoadBalancer ``` - `NodePort` type requires you can access the Kubernetes Node IP/Port. ```shell script vela addon enable ingrss-controller serviceType=NodePort ``` ## Get access address After specify the service type to `LoadBalancer` or `NodePort`, you can obtain the access address through `vela status`: ```shell vela status addon-ingrss-controller -n vela-system --endpoint ``` If the service type is `ClusterIP`, you use `vela port-forward` map the ingrss-controller's port to local ```shell vela port-forward -n vela-system addon-ingress-controller 9080:80 ``` ## Uninstall ```shell vela addon disable ingrss-controller ``` ## Example Use this addon by deploy an application: ```yaml cat </version Demo: V1 ```