> For the complete documentation index, see [llms.txt](https://memogarcia.gitbook.io/continuous-learning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://memogarcia.gitbook.io/continuous-learning/tech/kubernetes/ingress/nginx.md).

# Nginx Ingress

`k3s` uses `traefik` which already is an ingress controller and a load balancer.

## nginx ingress controller

```
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
```

## Metal-lb

## ~~public revserse proxy~~

On a separate load balancer, create an nginx (or haproxy) load balancer

```
sudo apt install -y nginx
cp workload-ingress.conf /etc/nginx/sites-enabled/workload-ingress.conf
nginx -s reload
```

## ~~nginx-ingress-controller~~

```
kubectl create ns nginx-ingress-controller
helm repo add nginx-stable https://helm.nginx.com/stable
helm repo update
helm -n nginx-ingress-controller install nginx nginx-stable/nginx-ingress
```

What is nginx-ingress-mesh?
