Folks, I’m a bit lost on my journey.
I simply want to learn how to develop kube tools so I took k3s in a docker compose in order to have a reproducible environment for my co-learners and GitHub actions to test those tools.
The issue I face is I can’t expose my k3s ingress controller.
Do I do something wrong and I can achieve it using k3d?
Or it seems fine and I should look properly how to expose ingress from k3s in docker?
The approach I follow to expose k3s ingress from docker:
• expose 80 port of k3s
• create an ingress controller with nginx
• create a dummy service to answer hello
• add a local record in /etc/hosts on the host machine with a created ingress rule host
As a result I can’t reach it