Commit ccb22c7b authored by Frederic Gurr's avatar Frederic Gurr 👷
Browse files

Set nodeAffinity to not schedule webdev-apps on "fast" nodes


Signed-off-by: Frederic Gurr's avatarFrederic Gurr <frederic.gurr@eclipse-foundation.org>
parent 014fc27f
......@@ -8,6 +8,16 @@ spec:
matchLabels:
app: git-eca-rest-api
environment: production
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
replicas: 2
template:
metadata:
......
......@@ -8,6 +8,16 @@ spec:
matchLabels:
app: git-eca-rest-api
environment: staging
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
replicas: 1
template:
metadata:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment