I read some article about pod anti affinity and affinity and i’m 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’m using cypress so if job are launch on the same node it will causes some strange behavior.
Thanks and regards