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: ...@@ -34,6 +34,17 @@ spec:
operator: Equal operator: Equal
value: cbio value: cbio
affinity: affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 50
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cbio
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
...@@ -53,7 +64,7 @@ spec: ...@@ -53,7 +64,7 @@ spec:
- name: dataloding - name: dataloding
containers: containers:
- name: cbio - 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: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
......
...@@ -42,6 +42,17 @@ spec: ...@@ -42,6 +42,17 @@ spec:
operator: In operator: In
values: values:
- cbio - cbio
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 50
podAffinityTerm:
topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cbioDB
containers: containers:
- name: cbio - name: cbio
image: lpivo/cbiodb:v1 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