Skip to content

Commit

Permalink
Merge pull request #124 from InseeFrLab/elastic-increased-resources
Browse files Browse the repository at this point in the history
[elasticsearch] Upgrade resourcesPreset to medium to avoid occasional OOM
  • Loading branch information
Gaspi authored Nov 26, 2024
2 parents 6f04265 + f4c87f6 commit 18619a5
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 299 deletions.
6 changes: 3 additions & 3 deletions charts/elastic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ version: 2.0.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "8.15.1"
appVersion: "8.16.1"
dependencies:
- name: elasticsearch
version: 21.3.17
version: 21.3.26
repository: https://charts.bitnami.com/bitnami
- name: library-chart
version: 1.5.25
version: 1.5.31
repository: https://inseefrlab.github.io/helm-charts-interactive-services
20 changes: 11 additions & 9 deletions charts/elastic/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{{- $pvcList := list }}
{{- $replicas := int .Values.elasticsearch.master.replicaCount }}
{{- range $e, $i := until $replicas }}
{{- $pvcList = append $pvcList (printf "%s-%s-%d" "data-elastic-elasticsearch" "master" $i) }}
{{- $masterName := include "elasticsearch.master.fullname" .Subcharts.elasticsearch }}
{{- $pvcList = append $pvcList (printf "%s-%s-%d" "data" $masterName $i) }}
{{- end }}
{{- $replicasdata := int .Values.elasticsearch.data.replicaCount }}
{{- $dataName := include "elasticsearch.data.fullname" .Subcharts.elasticsearch }}
{{- range $e, $i := until $replicasdata }}
{{- $pvcList = append $pvcList (printf "%s-%s-%d" "data-elastic-elasticsearch" "data" $i) }}
{{- $pvcList = append $pvcList (printf "%s-%s-%d" "data" $dataName $i) }}
{{- end }}

{{- if eq .Values.userPreferences.language "fr" }}
Expand All @@ -21,7 +23,7 @@
{{- if .Values.route.enabled }}
- Vous pouvez vous connecter à elastic avec votre navigateur à ce [lien](https://{{ .Values.route.hostname }})
{{- end }}
- Vous pouvez vous connectez à elastic depuis l'intérieur du datalab à cette URL : **https://{{ .Release.Name }}-elasticsearch:{{ .Values.elasticsearch.service.ports.restAPI }}**
- Vous pouvez vous connectez à elastic depuis l'intérieur du datalab à cette URL : **http://{{ include "elasticsearch.service.name" .Subcharts.elasticsearch }}:{{ include "elasticsearch.service.ports.restAPI" .Subcharts.elasticsearch }}**
{{- if .Values.ingressKibana.enabled }}
- Vous pouvez vous connecter à kibana avec votre navigateur à ce [lien](http{{ if $.Values.ingressKibana.tls }}s{{ end }}://{{ .Values.ingressKibana.hostname }})
{{- end }}
Expand All @@ -39,22 +41,22 @@
{{- else }}

{{- if .Values.elasticsearch.security.enabled }}
- Your username is **elastic**
- Your username is **elastic**
- Your password is **{{ .Values.elasticsearch.security.elasticPassword}}**
{{- end }}

{{- if .Values.ingress.enabled }}
- You can connect to elastic with your browser on this [link](http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .Values.ingress.hostname }})
- You can connect to elastic with your browser on [this link](http{{ if $.Values.ingress.tls }}s{{ end }}://{{ .Values.ingress.hostname }})
{{- end }}
{{- if .Values.route.enabled }}
- You can connect to elastic with your browser on this [link](https://{{ .Values.route.hostname }})
- You can connect to elastic with your browser on [this link](https://{{ .Values.route.hostname }})
{{- end }}
- You can connect to elastic from inside the datalab at this url : **https://{{ .Release.Name }}-elasticsearch:{{ .Values.elasticsearch.service.ports.restAPI }}**
- You can connect to elastic from inside the datalab at this url: **http://{{ include "elasticsearch.service.name" .Subcharts.elasticsearch }}:{{ include "elasticsearch.service.ports.restAPI" .Subcharts.elasticsearch }}**
{{- if .Values.ingressKibana.enabled }}
- You can connect to kibana with your browser on this [link](http{{ if $.Values.ingressKibana.tls }}s{{ end }}://{{ .Values.ingressKibana.hostname }})
- You can connect to kibana with your browser on [this link](http{{ if $.Values.ingressKibana.tls }}s{{ end }}://{{ .Values.ingressKibana.hostname }})
{{- end }}
{{- if .Values.routeKibana.enabled }}
- You can connect to kibana with your browser on this [link](https://{{ .Values.routeKibana.hostname }})
- You can connect to kibana with your browser on [this link](https://{{ .Values.routeKibana.hostname }})
{{- end }}
- Only one cluster of {{ .Chart.Name }} can be started in a project

Expand Down
Loading

0 comments on commit 18619a5

Please sign in to comment.