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

Closes #13 and partialy data-loading#2

Pod distribution
parent 86cfec99
Pipeline #27780 passed with stages
in 16 minutes and 8 seconds
......@@ -34,6 +34,17 @@ spec:
operator: Equal
value: cbio
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 50
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cbio
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
......@@ -53,7 +64,7 @@ spec:
- name: dataloding
containers:
- name: cbio
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/cbio-on-demand/data-loading:master-app-97fb8c1069486ec071efbca7809303c5c5203b46
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/cbio-on-demand/data-loading:master-app-7c7009eb5d28a028248282dc0812d9d0a5101fff
ports:
- name: http
containerPort: 8080
......
......@@ -42,6 +42,17 @@ spec:
operator: In
values:
- cbio
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 50
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cbioDB
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