# Conditioned deploy

**URL:** <https://discuss.kubernetes.io/t/conditioned-deploy/21975>\
**Category:** General Discussions\
**Created:** [November 17, 2022, 11:46am UTC](https://discuss.kubernetes.io/t/conditioned-deploy/21975 "2022-11-17T11:46:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vucni](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/vucni/32/11347_2.png) [@vucni](https://discuss.kubernetes.io/u/vucni)\
**Post date:** [November 17, 2022, 11:46am UTC](https://discuss.kubernetes.io/t/conditioned-deploy/21975/1 "2022-11-17T11:46:03Z")

</div>

hi,  
how should i deploy application with 2 replicas and database with 2 instances?Let`s say we have 4 workers.  
I like to deploy 2 application replicas on worker 1 and worker 2 and 1 db instance on worker 3 and the other db instance on worker4.
