Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/92628-rmq-shovel-plugin #403

Merged
merged 3 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions reportportal/templates/service-api/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ spec:
value: "{{ .Values.serviceapi.jvmArgs }}"
{{- end }}
# AMQP settings
- 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: REPORTING_QUEUES_COUNT
value: "{{ .Values.serviceapi.queues }}"
- name: RP_AMQP_ANALYZER-VHOST
value: "{{ .Values.msgbroker.vhost }}"
- name: RP_AMQP_PASS
Expand Down
15 changes: 7 additions & 8 deletions reportportal/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,8 @@ 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
## @param serviceapi.queues.totalNumber define the total number of queues
## @param serviceapi.queues.perPodNumber define the number of queues per pod
## How to calculate: @param serviceapi.queues.perPodNumber = @param serviceapi.queues.totalNumber / @ param serviceapi.replicaCount
Copy link

@tomikonio tomikonio Aug 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Why has this been removed? Is it recommended for the total queue number to be equal to the per-pod number now? (in case we have more than one API pod)

##
queues:
totalNumber: 10
perPodNumber: 10
queues: 10

## @param serviceapi.extraEnvs define the extra environment variables
##
Expand Down Expand Up @@ -854,9 +849,13 @@ rabbitmq:
amqp: *msgbrokerPort
manager: *msgbrokerApiPort
## @param rabbitmq.extraPlugins define additional RabbitMQ plugins to be enabled
## Consistent Hash Exchange is required for the ReportPortal
## Required for the ReportPortal to work
##
extraPlugins: "rabbitmq_auth_backend_ldap rabbitmq_consistent_hash_exchange"
extraPlugins: >
rabbitmq_auth_backend_ldap
rabbitmq_consistent_hash_exchange
rabbitmq_shovel
rabbitmq_shovel_management

## @param opensearch External OpenSearch Helm Chart as dependency
## Set @param opensearch.install to `false` if using a Cloud/On-Premise managed OpenSearch
Expand Down