Skip to content

Commit

Permalink
updates to cpu resources
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Sep 6, 2024
1 parent 9de754e commit ee9c203
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions compose_worker/Dockerfile-compose_worker
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ COPY . /app/worker
RUN poetry add \
meson-python \
meson ninja \
&& poetry add pysces --extras=sbml
&& poetry add pysces --extras=sbml \
&& poetry add biosimulators-utils --extras=logging

RUN /app/assets/install_deps.sh /app/worker/requirements.worker.txt

# mv biosimulator processes artifact TODO: update this.
RUN mv /app/biosimulator_processes /app/worker/biosimulator_processes
# RUN mv /app/biosimulator_processes /app/worker/biosimulator_processes

WORKDIR /app/worker

Expand Down
1 change: 0 additions & 1 deletion compose_worker/requirements.worker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ biosimulators-amici
biosimulators-copasi
biosimulators-pysces
biosimulators-tellurium
biosimulators-utils[logging]
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
build:
context: ./compose_api
dockerfile: ./Dockerfile-compose_api
image: ghcr.io/biosimulators/bio-check-compose_api:1.10.1
image: ghcr.io/biosimulators/bio-check-compose_api:1.11.0
container_name: api
environment:
- MONGO_URI=mongodb://mongodb:27017/?retryWrites=true&w=majority&appName=bio-compose
Expand All @@ -34,7 +34,7 @@ services:
context: ./compose_worker
dockerfile: ./Dockerfile-compose_worker

image: ghcr.io/biosimulators/bio-check-compose_worker:1.10.2
image: ghcr.io/biosimulators/bio-check-compose_worker:1.11.0
container_name: worker
environment:
- MONGO_URI=mongodb://mongodb:27017/?retryWrites=true&w=majority&appName=bio-compose
Expand Down
4 changes: 2 additions & 2 deletions kustomize/base/worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ spec:
resources:
requests:
memory: "400Mi"
cpu: "200m"
cpu: "500m"
limits:
memory: "2000Mi"
# cpu: "500m"
cpu: "1500m"
envFrom:
- configMapRef:
name: worker-config
Expand Down

0 comments on commit ee9c203

Please sign in to comment.