2 ms·
There can't be two containers running that listen on the same port. The rolling upgrade will need to kill the first container to start the new one. I may suppo
by user5994461 10y ago
There can't be two containers running that listen on the same port. The rolling upgrade will need to kill the first container to start the new one.
I may suppose that you talk about [CPU] load, because you are running computations/processing applications and not webservices.
- fapjacks 10y agoWell, this is a problem that's been solved [0]. I've been using nginx-proxy for a couple of years now, in production, without any issues. [0] https://github.com/jwilder/nginx-proxy https://github.com/jwilder/nginx-proxy
- lobster_johnson 10y agoDon't use static ports. Pick a random one and update the load balancer (Haproxy, Traefik, Nginx) to point to the new one. If the rollout fails, you can always roll back by pointing back the old one. FWIW, Kubernetes solves this out of the box.