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

beta

parents e07073ee b987e51a
Pipeline #27817 waiting for manual action with stages
in 59 seconds
...@@ -36,7 +36,7 @@ stages: ...@@ -36,7 +36,7 @@ stages:
.docker-build-dry: .docker-build-dry:
script: &docker-build-dry script: &docker-build-dry
- docker build --pull ./cbioondemandK8S - docker build --pull ./cbioondemandK8S
#ALL #ALL
API Pipeline for MR: API Pipeline for MR:
stage: build stage: build
...@@ -49,6 +49,7 @@ API Pipeline for MR: ...@@ -49,6 +49,7 @@ API Pipeline for MR:
- dev - dev
- beta - beta
#PRODUCTION #PRODUCTION
API docker image build: API docker image build:
<<: *docker-build <<: *docker-build
......
...@@ -34,13 +34,24 @@ spec: ...@@ -34,13 +34,24 @@ 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:
- matchExpressions: - matchExpressions:
- key: edirex - key: edirex
operator: In operator: In
values: values:
- cbio - cbio
initContainers: initContainers:
- name: wait-for-db - name: wait-for-db
...@@ -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-b72064c4cfaaa4c307183ea0b85349fe55d85574
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
...@@ -83,4 +94,4 @@ spec: ...@@ -83,4 +94,4 @@ spec:
resources: resources:
requests: requests:
memory: "1400Mi" memory: "1400Mi"
cpu: "1000m" cpu: "1000m"
\ No newline at end of file
...@@ -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