From 7dcb1e6d3142d74c996d620bf1d45351bac76c51 Mon Sep 17 00:00:00 2001 From: Nick Bonilla <17408265+nbon12@users.noreply.github.com> Date: Thu, 2 Mar 2023 11:51:46 -0500 Subject: [PATCH] change host file entry for Mac For mac, the following parts of the documentation did not work for me: > 1. Add the following line to the bottom of the `/etc/hosts` file on > your computer (you will need administrator access): > ```none > 172.17.0.15 hello-world.info > ``` Instead, my host file needed to point to 127.0.0.1 (localhost) This works on Mac: > ```none > 127.0.0.1 hello-world.info > ``` followed by running the command `minikube tunnel` --- .../tasks/access-application-cluster/ingress-minikube.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md index 6f0ecda6caf67..0b0fc779d5ec8 100644 --- a/content/en/docs/tasks/access-application-cluster/ingress-minikube.md +++ b/content/en/docs/tasks/access-application-cluster/ingress-minikube.md @@ -208,6 +208,15 @@ The following manifest defines an Ingress that sends traffic to your Service via If you are running Minikube locally, use `minikube ip` to get the external IP. The IP address displayed within the ingress list will be the internal IP. {{< /note >}} + + {{< note >}} + For Mac, if you are running Minikube locally, point to localhost in the hosts file instead of the minikube ip + + ```none + 127.0.0.1 hello-world.info + ``` + And then use `minikube tunnel` + {{< /note >}} After you make this change, your web browser sends requests for `hello-world.info` URLs to Minikube.