diff --git a/load-test/load-test-inventory.yaml b/load-test/load-test-inventory.yaml index 9a1b528..c158afe 100644 --- a/load-test/load-test-inventory.yaml +++ b/load-test/load-test-inventory.yaml @@ -56,5 +56,13 @@ spec: - -H - "x-api-key: xxx" - https://api.fazio.apigeeks.net/items - nodeSelector: - cloud.google.com/gke-nodepool: apps + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: cloud.google.com/gke-nodepool + operator: In + values: + - apps + weight: 100 diff --git a/load-test/load-test-orders.yaml b/load-test/load-test-orders.yaml index 07c29d6..01d21d4 100644 --- a/load-test/load-test-orders.yaml +++ b/load-test/load-test-orders.yaml @@ -56,5 +56,13 @@ spec: - -H - "x-api-key: xxx" - https://api.fazio.apigeeks.net/orders - nodeSelector: - cloud.google.com/gke-nodepool: apps + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: cloud.google.com/gke-nodepool + operator: In + values: + - apps + weight: 100 diff --git a/load-test/load-test-template.yaml b/load-test/load-test-template.yaml index c0a9921..a186cf9 100644 --- a/load-test/load-test-template.yaml +++ b/load-test/load-test-template.yaml @@ -59,5 +59,13 @@ spec: - -H - "x-api-key: $API_KEY" - https://httpbin.org/get - nodeSelector: - cloud.google.com/gke-nodepool: apps + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: cloud.google.com/gke-nodepool + operator: In + values: + - apps + weight: 100 diff --git a/load-test/load-test-tracking.yaml b/load-test/load-test-tracking.yaml index 872038d..9277832 100644 --- a/load-test/load-test-tracking.yaml +++ b/load-test/load-test-tracking.yaml @@ -56,5 +56,13 @@ spec: - -H - "x-api-key: xxx" - https://api.fazio.apigeeks.net/tracking - nodeSelector: - cloud.google.com/gke-nodepool: apps + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - preference: + matchExpressions: + - key: cloud.google.com/gke-nodepool + operator: In + values: + - apps + weight: 100