<p>I am trying to run a local cluster on Mac with M1 chip using Minikube (Docker driver). I enabled ingress addon in Minikube, I have a separate terminal in which I'm running <code>minikube tunnel</code> and I enabled Minikube dashboard, which I want to expose using Ingress.
This is my configuration file:</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: dashboard-ingress
  namespace: kubernetes-dashboard
spec:
  rules:
    - host: dashboard.com
      http:
        paths:
          - backend:
              service:
                name: kubernetes-dashboard
                port:
                  number: 80
            pathType: Prefix
            path: /
</code></pre>
<p>I also put &quot;dashboard.com&quot; in my /etc/hosts file and it's actually resolving to the right IP, but it's not responding when I put &quot;http://dashboard.com&quot; in a browser or when I try to ping it and I always receive a timeout.</p>
<p>NOTE: when I run <code>minikube tunnel</code> I get</p>
<pre><code>❗  The service/ingress dashboard-ingress requires privileged ports to be exposed: [80 443]
🔑  sudo permission will be asked for it.
</code></pre>
<p>I insert my sudo password and then nothing gets printed afterwards. Not sure if this is is an issue or the expected behavior.</p>
<p>What am I doing wrong?</p>

Essay97
<p>I had the same behavior, and apparently what's needed for <code>minikube tunnel</code> to work is to map &quot;127.0.0.1&quot; in <code>/etc/hosts</code>, instead of the output from <code>minikube ip</code> or the ingress description.
that fixed it for me</p>
