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.
Re:A Gentle introduction to Kubernetes with more than just t...
by Axsuul on Friday September 20, 2019 @06:02AM
(#21024959)
I run on Docker Swarm and there are hiccups as one container goes up and another goes down during deployment.
Re:A Gentle introduction to Kubernetes with more than just t...
by tecleandor on Friday September 20, 2019 @03:54AM
(#21024198)
I think you can try a tool like Envoy for doing routing between versions plus some other custom stuff.
Re:A Gentle introduction to Kubernetes with more than just t...
by MuffinFlavored on Friday September 20, 2019 @11:28AM
(#21027768)
At my job, the devops team had to write some kind of special program that maps whether a Marathon/Mesos instance is up when dealing with Envoy. Not sure if the same is required for just plain Docker?
I had to write my own custom blue/green deploy script to hot reload traffic to proxy_pass definitions in nginx upstream configs since I don’t use Docker.