# Set instance group(s) at rjob template untime

**URL:** <https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [March 10, 2022, 4:53am UTC](https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419 "2022-03-10T04:53:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamroddo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iamroddo/32/321_2.png) [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Post date:** [March 10, 2022, 4:53am UTC](https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419/1 "2022-03-10T04:53:08Z")

</div>

We are using instance groups in AWX (19.3.0). Currently we have a single dedicated K8s namespace on the same cluster as AWX for the runner pods. We want to have multiple clusters for runners and have job templates executed on specific clusters for specific target hosts. I understand that it is not possible to define the instance group at runtime of a job template at the moment.

I see that [https://github.com/ansible/awx/issues/5711](https://github.com/ansible/awx/issues/5711) is opened to enable this. Is there any active development regarding this?

In the absence of support for setting instance group at runtime, has anyone found an alternative solution to this?

---

<div class="post-metadata">

**Author:** ![Rob\_B](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/rob_b/32/4803_2.png) [@Rob\_B](https://forum.ansible.com/u/Rob_B)\
**Post date:** [March 10, 2022, 9:54am UTC](https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419/2 "2022-03-10T09:54:05Z")

</div>

I have a similar issue - the only way I know of is to create multiple duplicated job templates for each instance group…
