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

Node affinity & tolerations for API

parent 6d258fb1
Pipeline #23701 failed with stages
in 29 seconds
......@@ -21,6 +21,24 @@ spec:
app: cbio-api
type: ondemand
spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io
operator: Equal
value: controlplane
effect: NoExecute
key: node-role.kubernetes.io
operator: Equal
value: etcd
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/controlplane:
operator: In
values:
- true
serviceAccountName: cbio-api
imagePullSecrets:
- name: temporary
......
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