Skip to content
Snippets Groups Projects
Commit 111416c5 authored by Frederic Gurr's avatar Frederic Gurr :construction_worker:
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 1d6b4d60
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,16 @@ spec: ...@@ -15,6 +15,16 @@ spec:
app: marketplace-rest-api app: marketplace-rest-api
environment: production environment: production
spec: spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
containers: containers:
- name: app - name: app
image: eclipsefdn/marketplace-rest-api:latest image: eclipsefdn/marketplace-rest-api:latest
......
...@@ -15,6 +15,16 @@ spec: ...@@ -15,6 +15,16 @@ spec:
app: marketplace-rest-api app: marketplace-rest-api
environment: staging environment: staging
spec: spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
containers: containers:
- name: app - name: app
image: eclipsefdn/marketplace-rest-api:latest image: eclipsefdn/marketplace-rest-api:latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment