Skip to content

3. Configuring a Nginx Ingress Controller

Steven Platt edited this page Aug 24, 2021 · 1 revision

Installing an ingress controller must be done to allow deployed services to be reachable from outside the kubernetes cluster (see topology image above).

An additional command is also required to resolve an error relating to webhook timeouts when creating a Kubernetes Ingress (step 4) (source).

  1. Add the nginx Helm repository.

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

  1. Refresh the local Helm repositories.

helm repo update

  1. Install the nginx ingress. (source)

helm install nginx-ingress ingress-nginx/ingress-nginx --set controller.publishService.enabled=true

  1. Stop validation of webhook configurations.

kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission

Clone this wiki locally