<p>I am unable to figure out how to set up ingress controller on Kubernetes cluster (not minikube). Every nginx ingress setup I followed yielded to an error and controller not set up properly. Basically, I want an equivalent command to minikube addons enable ingress.
Thanks.</p>
<p>Edit 1-&gt;</p>
<p>I am following the installation steps mentioned in <a href="https://kubernetes.github.io/ingress-nginx/deploy/" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/deploy/</a>
I have tried out the baremetal, cloud and a couple of more ways to install nginx-ingress controller.</p>
<p>In a couple of installations, External IP was stuck on  for ever. In the cloud installation, while hosting the ingress service, I encountered the error,</p>
<pre><code>Error from server (InternalError): error when creating &quot;kubernetes-custom-scheduler/kubernetes/configuration/services/loki-ingress.yaml&quot;: Internal error occurred: failed calling webhook &quot;validate.nginx.ingress.kubernetes.io&quot;: Post &quot;https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1beta1/ingresses?timeout=10s&quot;: dial tcp 10.98.61.194:443: connect: connection refused
</code></pre>
<p>I am currently using Debian GNU/Linux 10 (buster).</p>
<p>I have tried using bare-metal ingress controller from <a href="https://kubernetes.github.io/ingress-nginx/deploy/" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/deploy/</a> but it is only for NodePort Service. I need the nginx-ingress controller for Cluster-IP Services.</p>

Dragnoid99
<p>The easiest way would be to install with HELM.</p>
<p><a href="https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/" rel="nofollow noreferrer">https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/</a></p>
<p>If you do not have helm, then install it first.</p>
<p><a href="https://helm.sh/docs/intro/install/" rel="nofollow noreferrer">https://helm.sh/docs/intro/install/</a></p>
