Commit a2442016 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files
parents 42332f6e f23f0a65
Pipeline #23732 passed with stages
in 3 minutes and 32 seconds
......@@ -97,3 +97,4 @@ Dev-API Kube deploy:
only:
refs:
- dev
#
......@@ -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
......@@ -65,4 +79,4 @@ spec:
lifecycle:
postStart:
exec:
command: ["python3", "/etc/data-loading/cbio-client.py"]
command: ["python3", "/etc/data-loading/cbio_client.py"]
......@@ -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
......
......@@ -21,6 +21,24 @@ spec:
app: cbio-api
type: ondemand
spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/controlplane
operator: Equal
value: "true"
- effect: NoExecute
key: node-role.kubernetes.io/etcd
operator: Equal
value: "true"
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