One job One node

Hi all :wink:

I read some article about pod anti affinity and affinity and i鈥檓 waiting this feature : Add Kubernetes Pod Affinity and Anti Affinity Settings (!2368) 路 Merge Requests 路 GitLab.org / gitlab-runner 路 GitLab

Here is my goal :

I have a GKE cluster with 3 nodes. Once i launch 2 concurrent jobs or i launch 2 jobs on 2 differents branch, it always takes the same node and run all jobs on one node.

I tried to add $CI_CONCURRENT_ID on node selector but this var is not available.

I need help, i鈥檓 using cypress so if job are launch on the same node it will causes some strange behavior.

Thanks and regards

Thomas