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

Move nodeAffinity to the right place in the YAML. m(


Signed-off-by: Frederic Gurr's avatarFrederic Gurr <frederic.gurr@eclipse-foundation.org>
parent ccb22c7b
......@@ -8,16 +8,6 @@ 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:
......@@ -25,6 +15,16 @@ spec:
app: git-eca-rest-api
environment: production
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
containers:
- name: app
image: eclipsefdn/git-eca-rest-api:latest
......
......@@ -8,16 +8,6 @@ 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:
......@@ -25,6 +15,16 @@ spec:
app: git-eca-rest-api
environment: staging
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: speed
operator: NotIn
values:
- fast
weight: 1
containers:
- name: app
image: eclipsefdn/git-eca-rest-api:latest
......
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