# NGINX ingress install

add helm chart ingress-nginx/ingress-nginx

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

install for k8s v1.24 and up:

helm install -n nginx --create-namespace nginx \
ingress-nginx/ingress-nginx --wait \
--set controller.service.externalTrafficPolicy=Local \
--set controller.ingressClassResource.default=true \
--set controller.config.proxy-body-size=128m \
--debug

post install, you should see the pod & service deployed and running:

>>> kc get all

NAME                                                  READY   STATUS    RESTARTS   AGE
pod/nginx-ingress-nginx-controller-6c8884f8d6-rqgnt   1/1     Running   0          118s

NAME                                               TYPE           CLUSTER-IP      EXTERNAL-IP                                                               PORT(S)                      AGE
service/nginx-ingress-nginx-controller             LoadBalancer   10.100.30.109   blabla.us-east-2.elb.amazonaws.com   80:31070/TCP,443:30784/TCP   118s
service/nginx-ingress-nginx-controller-admission   ClusterIP      10.100.54.67    <none>                                                                    443/TCP                      118s

NAME                                             READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/nginx-ingress-nginx-controller   1/1     1            1           118s

NAME                                                        DESIRED   CURRENT   READY   AGE
replicaset.apps/nginx-ingress-nginx-controller-6c8884f8d6   1         1         1       118s

AI Studio helm install params for nginx ingress:

  --set networking.istio.enabled=false \
  --set networking.ingress.type=ingress \
Last Updated: 11/7/2024, 3:31:50 PM