We are just getting started with k8s. One of the things we need to do is expose a service running on each bare metal Ubuntu 20.04 host node to pods in k8s. The service is listening on the node's real IP as well as localhost on port 8500. Is there an easy way to do this?
I can get to port 80 and 443 on the node from inside a pod using its IP but not to 8500.
As @David Tinker mentioned in the comments, problem is solved.
So, the solution is hidden in iptables: