I'm starting to learn Kubernetes and there's one thing I currently don't understand. Let's say I have three virtual machines (VMware) with some unique external IPs (let's say X,Y,Z IP addresses). Let's say we want to expose 3 different websites on port 80. Let's say we want to have each website on each IP address.
Without using Kubernetes I can simply create Docker container on each machine and expose it easily. (X:80, Y:80, Z:80)
How can I approach this problem with Kubernetes? What would be equivalent solution to one I described above without Kubernetes? There's Ingress, but it would require something like X:80 , X:80/secondsite, X:80/thirdsite.
How is this problem approached if I need more IP addresses than virtual machines? Is it possible to assign range of IP addresses to single VM and use them with Ingress or in some different way?
I apologize in advance if these questions seem trivial, but I will be greatful for answers that would give me some direction.