Re:A Gentle introduction to Kubernetes with more than just t...
by jeremija on Friday September 20, 2019 @03:53AM
(#21024192)
IIRC, if you use docker swarm it wil handle the routing for you. So if an app is running on port 8080 on two swarm nodes, if you access port 8080 on each node, you might actually be accessing another node.
Since docker swarm knows if an instance is down, it will know to not use that instance.
Since docker swarm knows if an instance is down, it will know to not use that instance.
See https://docs.docker.com/engine/swarm/ingress/