# Load balancer target services using API

**URL:** <https://forums.suse.com/t/load-balancer-target-services-using-api/1748>\
**Category:** Rancher 1.x\
**Created:** [February 16, 2016, 10:28pm UTC](https://forums.suse.com/t/load-balancer-target-services-using-api/1748 "2016-02-16T22:28:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahesh\_K](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Mahesh\_K](https://forums.suse.com/u/Mahesh_K)\
**Post date:** [February 16, 2016, 10:28pm UTC](https://forums.suse.com/t/load-balancer-target-services-using-api/1748/1 "2016-02-16T22:28:59Z")

</div>

Hi All,

Can some one suggest me what is the best way to add new target service (virtualhost configuration) to existed load balancer(which already have couple of target services.

when ever i execute with **rancher-compose up -d** for existed load balancer , my old target services are wiped off form load balancer.

iam looking for load balancer target url’s to be update for every new service( as soon as it create)

Regards,  
Mahesh K
