Skip to content

Commit

Permalink
Add JVM parameters on docgen deployment 4x (#671)
Browse files Browse the repository at this point in the history
* Update cd-docgen.yml

* Update CHANGELOG.md
  • Loading branch information
segator authored Nov 18, 2021
1 parent 0603e04 commit ddd5fd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog

## Unreleased

- Add JVM parameters on docgen deployment 4x ([#671](https://github.com/opendevstack/ods-quickstarters/pull/671))
## [4.0] - 2021-18-11

### Added
Expand Down
10 changes: 10 additions & 0 deletions release-manager/ocp-config/cd-docgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ parameters:
value: 512Mi
- name: MEMORY_REQUEST
description: Minimum amount of memory requested for the container.
- name: SERVICE_JVM_MEM_LIMIT
description: Maximum amount of memory available for the DocGen Service, render process memory needs to be handled by MEMORY_LIMIT parameter
value: 512m
- name: SERVICE_JVM_ARGS
description: JVM Tunning parameters for DocGen Service
value: "-XX:+UseCompressedOops -XX:+UseG1GC -XX:MaxGCPauseMillis=1000"
value: 256Mi
- name: DOCKER_REGISTRY
description: Image registry
Expand Down Expand Up @@ -94,6 +100,10 @@ objects:
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: JAVA_MEM_XMX
value: '${SERVICE_JVM_MEM_LIMIT}'
- name: JAVA_OPTS
value: '${SERVICE_JVM_ARGS}'
- name: BITBUCKET_URL
value: '${BITBUCKET_URL}'
- name: BITBUCKET_USERNAME
Expand Down

0 comments on commit ddd5fd1

Please sign in to comment.