# Label based geo-spread scheduling

**URL:** <https://forums.suse.com/t/label-based-geo-spread-scheduling/4666>\
**Category:** General\
**Created:** [November 19, 2016, 10:09am UTC](https://forums.suse.com/t/label-based-geo-spread-scheduling/4666 "2016-11-19T10:09:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanvangastel](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/stefanvangastel/32/1620_2.png) [@stefanvangastel](https://forums.suse.com/u/stefanvangastel)\
**Post date:** [November 19, 2016, 10:09am UTC](https://forums.suse.com/t/label-based-geo-spread-scheduling/4666/1 "2016-11-19T10:09:33Z")

</div>

Hi,

I am wondering; How would it be possible to use labels and scheduling rules to accomplish the following:

We have 3 datacenters spread across the country. If I start a Rancher service with 3 containers I want to make sure every datacenter runs 1 at all time. (So I could also launch 6 or 9).

How do I use the scheduling rules and host labels to make sure this happens?

Lets say we have 3 hosts every one in a separate datacenter (labels: location=north, location=mid, location=south).

Regards,

Stefan

---

<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:** [November 19, 2016, 2:46pm UTC](https://forums.suse.com/t/label-based-geo-spread-scheduling/4666/2 "2016-11-19T14:46:33Z")

</div>

This doesn’t exist today, but we have an enhancement request in Github.

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