Skip to content

Commit

Permalink
Increase memory requirement for building ChRIS_ui
Browse files Browse the repository at this point in the history
More memory is needed since FNNDSC/ChRIS_ui#1060
  • Loading branch information
jennydaman committed Feb 11, 2024
1 parent 7fb6537 commit 2d09646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/run/chrisui_openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ oc new-app --name chrisui \

- Set ref=`refs/heads/master`, so that full commit history is cloned for the sake of
being able to generate the version string. See https://github.com/FNNDSC/ChRIS_ui/pull/508
- (optional) Default limit is 2Gi mem, which is enough, but a little more won't hurt.
- Increase memory limit for build to 4GB
- (optional) Set RunPolicy=SerialLatestOnly

```shell
oc patch bc/chrisui --patch '{"spec":{"resources":{"limits":{"memory":"3Gi"}},"runPolicy":"SerialLatestOnly","source":{"git":{"ref":"refs/heads/master"}}}}'
oc patch bc/chrisui --patch '{"spec":{"resources":{"limits":{"memory":"3814Mi"}},"runPolicy":"SerialLatestOnly","source":{"git":{"ref":"refs/heads/master"}}}}'
```

### 4. Create a Route
Expand Down

0 comments on commit 2d09646

Please sign in to comment.