diff --git a/reportportal/Chart.yaml b/reportportal/Chart.yaml index f271ffda..1be61563 100644 --- a/reportportal/Chart.yaml +++ b/reportportal/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: "5.7.3" +appVersion: "5.7.4" description: ReportPortal.io AI-powered Test Automation Dashboard name: reportportal -version: 5.7.3 +version: 5.7.4 sources: - https://github.com/reportportal/kubernetes keywords: @@ -17,8 +17,8 @@ dependencies: condition: postgresql.installdep.enable - name: rabbitmq - version: 7.5.6 - repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami + version: 10.3.9 + repository: https://charts.bitnami.com/bitnami condition: rabbitmq.installdep.enable - name: elasticsearch diff --git a/reportportal/templates/api-deployment.yaml b/reportportal/templates/api-deployment.yaml index 641f911d..b3934cc7 100644 --- a/reportportal/templates/api-deployment.yaml +++ b/reportportal/templates/api-deployment.yaml @@ -29,6 +29,10 @@ spec: {{- if .Values.serviceapi.extraEnvs }} {{ toYaml .Values.serviceapi.extraEnvs | indent 8 }} {{- end }} + {{- if .Values.elasticsearch.doubleEntry.enable }} + - name: RP_ELASTICSEARCHLOGMESSAGE_HOST + value: "true" + {{- end}} - name: LOGGING_LEVEL_ORG_HIBERNATE_SQL value: "info" - name: RP_REQUESTLOGGING diff --git a/reportportal/templates/jobs-deployment.yaml b/reportportal/templates/jobs-deployment.yaml index 16f2c900..132d95be 100644 --- a/reportportal/templates/jobs-deployment.yaml +++ b/reportportal/templates/jobs-deployment.yaml @@ -29,6 +29,14 @@ spec: {{- if .Values.servicejobs.extraEnvs }} {{ toYaml .Values.servicejobs.extraEnvs | indent 8 }} {{- end }} + {{- if .Values.elasticsearch.doubleEntry.enable }} + - name: RP_ELASTICSEARCH_HOST + value: "{{ .Values.elasticsearch.endpoint }}" + - name: RP_ELASTICSEARCH_USERNAME + value: "{{ .Values.elasticsearch.user }}" + - name: RP_ELASTICSEARCH_PASSWORD + value: "{{ .Values.elasticsearch.password }}" + {{- end}} - name: RP_ENVIRONMENT_VARIABLE_CLEAN_ATTACHMENT_CRON value: "{{ .Values.servicejobs.coreJobs.cleanAttachmentCron }}" - name: RP_ENVIRONMENT_VARIABLE_CLEAN_LOG_CRON diff --git a/reportportal/values.yaml b/reportportal/values.yaml index f2d090b1..e76cb783 100644 --- a/reportportal/values.yaml +++ b/reportportal/values.yaml @@ -32,7 +32,7 @@ serviceindex: uat: repository: reportportal/service-authorization name: uat - tag: 5.7.3 + tag: 5.7.4 pullPolicy: Always readinessProbe: enabled: true @@ -97,7 +97,7 @@ uat: serviceui: repository: reportportal/service-ui - tag: 5.7.3 + tag: 5.7.4 name: ui pullPolicy: Always resources: @@ -121,7 +121,7 @@ serviceui: serviceapi: repository: reportportal/service-api - tag: 5.7.3 + tag: 5.7.4 name: api pullPolicy: Always replicaCount: 1 @@ -175,7 +175,7 @@ serviceapi: servicejobs: repository: reportportal/service-jobs - tag: 5.7.3 + tag: 5.7.4 name: jobs pullPolicy: Always readinessProbe: @@ -255,7 +255,7 @@ migrations: serviceanalyzer: repository: reportportal/service-auto-analyzer - tag: 5.7.3 + tag: 5.7.4 name: analyzer pullPolicy: Always uwsgiWorkers: 2 @@ -395,6 +395,14 @@ elasticsearch: secretName: "" installdep: enable: false + ## Double entry moves test logs from PostgreSQL to Elastic-type engines + ## Ref: https://reportportal.io/blog/double-entry-in-5.7.2 + ## + ## ElasticSearch Performance tuning + ## Ref: https://reportportal.io/docs/installation-steps/OptimalPerformanceHardwareSetup/#7-elasticsearch-performance-tuning + ## + doubleEntry: + enable: true endpoint: http://elasticsearch-master.default.svc.cluster.local:9200 user: elastic password: @@ -415,13 +423,13 @@ minio: defaultBucketName: "" integrationSaltPath: "" -# Ingress configuration for the ui -# If you have installed ingress controller and want to expose application - set INGRESS.ENABLE to true. -# If you have some domain name set INGRESS.USEDOMAINNAME variable to true and set this fqdn to INGRESS.HOSTS -# If you don't have any domain names - set INGRESS.USEDOMAINNAME to false +## Ingress configuration for the ui +## If you have installed ingress controller and want to expose application - set INGRESS.ENABLE to true. +## If you have some domain name set INGRESS.USEDOMAINNAME variable to true and set this fqdn to INGRESS.HOSTS +## If you don't have any domain names - set INGRESS.USEDOMAINNAME to false ingress: enable: true - # IF YOU HAVE SOME DOMAIN NAME SET INGRESS.USEDOMAINNAME to true + ## IF YOU HAVE SOME DOMAIN NAME SET INGRESS.USEDOMAINNAME to true usedomainname: false hosts: - reportportal.k8.com @@ -442,7 +450,7 @@ ingress: # - reportportal.k8.com # secretName: reportportal.k8.com-tls -# tolerations for all components, if any (requires Kubernetes >= 1.6) +## tolerations for all components, if any (requires Kubernetes >= 1.6) ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ tolerations: [] # - key: "key" @@ -450,13 +458,13 @@ tolerations: [] # value: "value" # effect: "NoSchedule|PreferNoSchedule|NoExecute" -# RBAC is required for service-index in order to collect status/info over all services +## RBAC is required for service-index in order to collect status/info over all services rbac: create: true serviceAccount: create: true name: reportportal - # For AWS IAM role association use the following annotations + ## For AWS IAM role association use the following annotations ## See: https://docs.aws.amazon.com/eks/latest/userguide/specify-service-account-role.html annotations: {} @@ -464,7 +472,7 @@ rp: infoEndpoint: "/info" healthEndpoint: "/health" -# Extra init containers to e.g. wait for minio +## Extra init containers to e.g. wait for minio extraInitContainers: {} # - name: "wait-for-minio" # image: "busybox"