Skip to content

Commit

Permalink
hotfix: Update AMQP settings (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlebkanonik authored Aug 21, 2024
1 parent bf51fbc commit 9b0a709
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions reportportal/templates/service-api/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ spec:
value: "{{ .Values.serviceapi.jvmArgs }}"
{{- end }}
# AMQP settings
- name: REPORTING_QUEUES_COUNT
value: "{{ .Values.serviceapi.queues }}"
- name: RP_AMQP_QUEUES
value: {{ .Values.serviceapi.queues.totalNumber | default "10" | quote }}
- name: RP_AMQP_QUEUESPERPOD
value: {{ .Values.serviceapi.queues.perPodNumber | default "10" | quote }}
- name: RP_AMQP_ANALYZER-VHOST
value: "{{ .Values.msgbroker.vhost }}"
- name: RP_AMQP_PASS
Expand Down
5 changes: 4 additions & 1 deletion reportportal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,11 @@ serviceapi:
jvmArgs: "-Djava.security.egd=file:/dev/./urandom -XX:+UseG1GC -XX:MinRAMPercentage=60.0 -XX:InitiatingHeapOccupancyPercent=70 -XX:MaxRAMPercentage=90.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"

## @param serviceapi.queues define the number for the queues
## Where "totalNumber" is the total number of queues. Сalculation formula: perPodNumber = totalNumber / serviceapi.replicaCount
##
queues: 10
queues:
totalNumber: 10
perPodNumber: 10

## @param serviceapi.extraEnvs define the extra environment variables
##
Expand Down

0 comments on commit 9b0a709

Please sign in to comment.