Commit 6d258fb1 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Node affinity & tolerations

parent 8ce16366
Pipeline #23698 failed with stages
in 16 minutes and 58 seconds
......@@ -28,6 +28,20 @@ spec:
# generated by API unique for user
#instance: "1"
spec:
tolerations:
- effect: NoSchedule
key: edirex
operator: Equal
value: cbio
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: edirex
operator: In
values:
- cbio
initContainers:
- name: wait-for-db
image: lpivo/wait_for_db:tr2
......
......@@ -28,6 +28,20 @@ spec:
# generated by API unique for user
#instance: "1"
spec:
tolerations:
- effect: NoSchedule
key: edirex
operator: Equal
value: cbio
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: edirex
operator: In
values:
- cbio
containers:
- name: cbio
image: lpivo/cbiodb:v1
......
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