# How upgrade instance one by one while upgrading rancher service

**URL:** <https://forums.suse.com/t/how-upgrade-instance-one-by-one-while-upgrading-rancher-service/4491>\
**Category:** Rancher 1.x\
**Created:** [October 30, 2016, 2:50am UTC](https://forums.suse.com/t/how-upgrade-instance-one-by-one-while-upgrading-rancher-service/4491 "2016-10-30T02:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenyongjun](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@chenyongjun](https://forums.suse.com/u/chenyongjun)\
**Post date:** [October 30, 2016, 2:50am UTC](https://forums.suse.com/t/how-upgrade-instance-one-by-one-while-upgrading-rancher-service/4491/1 "2016-10-30T02:50:18Z")

</div>

I deployed a web app in a rancher service and started several instance, when upgrade the rancher service, the next instance will start to stop and the previous are still initiating.

For example, If i started two instance in a service, all of instance can’t provide service while rancher service upgrading. because the first instance are initiating and the other one was stopped.

So, how can i upgrade the instance one by one when upgrade the service ?

ps: the fowlloing method does’t work

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/9/9d9b987a638e2e7ec6e68ec1164baf6da1f48abb.png)

---

<div class="post-metadata">

**Author:** ![etlweather](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/etlweather/32/419_2.png) [@etlweather](https://forums.suse.com/u/etlweather)\
**Post date:** [November 8, 2016, 3:57pm UTC](https://forums.suse.com/t/how-upgrade-instance-one-by-one-while-upgrading-rancher-service/4491/2 "2016-11-08T15:57:44Z")

</div>

I mitigate this by setting the batch interval to a value high enough for the initialization to complete.

Also see:

[https://github.com/rancher/rancher/issues/5826](https://github.com/rancher/rancher/issues/5826)

[https://github.com/rancher/rancher/issues/6340](https://github.com/rancher/rancher/issues/6340)

[https://github.com/rancher/rancher/issues/3294](https://github.com/rancher/rancher/issues/3294)
