File tree Expand file tree Collapse file tree 4 files changed +23
-9
lines changed Expand file tree Collapse file tree 4 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,15 @@ The [Parameters](https://github.com/meilisearch/meilisearch-kubernetes/tree/main
5959
6060### Install MeiliSearch chart
6161
62- Clone this repository and install the chart
62+ First, add the meilisearch chart repository
63+ ``` bash
64+ helm repo add meilisearch https://meilisearch.github.io/meilisearch-kubernetes
65+ ```
6366
67+ Now install/upgrade the chart
6468``` bash
65- git clone https://github.com/meilisearch/meilisearch-kubernetes.git
66- cd meilisearch-kubernetes
6769# Replace <your-instance-name> with the name you would like to give to your service
68- helm install < your-service-name> charts /meilisearch
70+ helm upgrade -i < your-service-name> meilisearch /meilisearch
6971```
7072
7173### Uninstalling the Chart
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v1
22appVersion : " v0.19.0"
33description : A Helm chart for the Meilisearch search engine
44name : meilisearch
5- version : 0.1.12
5+ version : 0.1.13
66icon : https://res.cloudinary.com/meilisearch/image/upload/v1597822872/Logo/logo_img.svg
77home : https://github.com/meilisearch/meilisearch-kubernetes/charts
88maintainers :
Original file line number Diff line number Diff line change 1919 labels :
2020 app.kubernetes.io/name : {{ include "meilisearch.name" . }}
2121 app.kubernetes.io/instance : {{ .Release.Name }}
22+ {{- with .Values.podAnnotations }}
23+ annotations :
24+ {{- toYaml . | nindent 8 }}
25+ {{- end }}
2226 spec :
2327 serviceAccountName : {{ template "meilisearch.fullname" . }}
2428 {{- if .Values.image.pullSecret }}
2731 {{- end }}
2832 {{- if .Values.persistence.enabled }}
2933 volumes :
30- - name : data
34+ - name : {{ .Values.persistence.volume.name }}
3135 persistentVolumeClaim :
3236 claimName : {{ include "meilisearch.fullname" . }}
3337 {{- end }}
@@ -37,15 +41,15 @@ spec:
3741 imagePullPolicy : {{ .Values.image.pullPolicy }}
3842 {{- if .Values.persistence.enabled }}
3943 volumeMounts :
40- - name : data
41- mountPath : /data.ms
44+ - name : {{ .Values.persistence.volume.name }}
45+ mountPath : {{ .Values.persistence.volume.mountPath }}
4246 {{- end }}
4347 envFrom :
4448 - configMapRef :
4549 name : {{ template "meilisearch.fullname" . }}-environment
4650 ports :
4751 - name : http
48- containerPort : 7700
52+ containerPort : {{ .Values.container.containerPort }}
4953 protocol : TCP
5054 livenessProbe :
5155 httpGet :
Original file line number Diff line number Diff line change @@ -25,10 +25,15 @@ environment:
2525 MEILI_NO_ANALYTICS : true
2626 MEILI_ENV : development
2727
28+ podAnnotations : {}
29+
2830service :
2931 type : ClusterIP
3032 port : 7700
3133
34+ container :
35+ containerPort : 7700
36+
3237ingress :
3338 enabled : false
3439 annotations : {}
@@ -53,6 +58,9 @@ persistence:
5358 # #
5459 # storageClass: "-"
5560 size : 10Gi
61+ volume :
62+ name : data
63+ mountPath : /data.ms
5664
5765resources : {}
5866 # We usually recommend not to specify default resources and to leave this as a conscious
You can’t perform that action at this time.
0 commit comments