https://rancher.com/ logo
Title
m

melodic-market-42092

08/03/2022, 12:16 PM
If I modify my
/etc/hosts
like this:
localhost       myapp.local
And have an ingress like this:
spec:
  rules:
    - host: myapp.local
And run k3d like this:
k3d cluster create $CLUSTER_NAME \
    -p "80:80@loadbalancer" \
Should I then be able to reach the service that my ingress points to by going to http://myapp.local in the browser?
w

wide-garage-9465

08/03/2022, 12:29 PM
It should be
127.0.0.1 myapp.local
in your
/etc/hosts
. But then yep, that should work.
m

melodic-market-42092

08/03/2022, 12:29 PM
Ah, thanks! That works 🙂
w

wide-garage-9465

08/03/2022, 12:32 PM
👍