# Loadbalancer 503 after upgrade webserver succeeded

**URL:** <https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846>\
**Category:** Rancher 1.x\
**Created:** [February 24, 2016, 7:59am UTC](https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846 "2016-02-24T07:59:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joostliketoast](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@joostliketoast](https://forums.suse.com/u/joostliketoast)\
**Post date:** [February 24, 2016, 7:59am UTC](https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846/1 "2016-02-24T07:59:22Z")

</div>

First of all I really like the ease of use of the Rancher loadbalancer for simple tasks.  
But there is one thing that keeps me puzzled, after I upgrade a webserver that is behind a loadbalancer I sometimes get 503 notice from the loadbalancer after the webserver is upgraded and running.

Is the loadbalancer doing some health check on the linked containers?

P.S. any tips on how to get zero downtime upgrades would be awesome!

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [February 26, 2016, 8:54pm UTC](https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846/2 "2016-02-26T20:54:02Z")

</div>

What version of Rancher are you using and what version of rancher/agent-instance are the load balancer agents?

---

<div class="post-metadata">

**Author:** ![joostliketoast](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@joostliketoast](https://forums.suse.com/u/joostliketoast)\
**Post date:** [February 26, 2016, 9:51pm UTC](https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846/3 "2016-02-26T21:51:46Z")

</div>

rancher v0.59

and the rancher-agent-instance is v0.8.0

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [March 1, 2016, 10:04pm UTC](https://forums.suse.com/t/loadbalancer-503-after-upgrade-webserver-succeeded/1846/4 "2016-03-01T22:04:29Z")

</div>

Some suggestions for zero downtime are:

1. When doing upgrade, use a batch size less than the scale of your service to ensure that there are never 0 running containers.

2. And configure a health check for your webserver so that the LB would never forward requests to the service until it’s considered up and healthy.
