Skip to content

Commit b0a9a1d

Browse files
meili-bors[bot]lukdzbrunoocasali
authored
Merge #259
259: Add timeoutSeconds to probes in values.yaml and statefulset.yaml r=brunoocasali a=lukdz # Pull Request ## Related issue [Allow full customisation of probes #233](#233) ## What does this PR do? - ... ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [ ] Have you read the contributing guidelines? - [ ] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: lukdz <[email protected]> Co-authored-by: brunoocasali <[email protected]> Co-authored-by: Bruno Casali <[email protected]> Co-authored-by: Bruno Casali <[email protected]>
2 parents 7b02a6a + 851198f commit b0a9a1d

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

charts/meilisearch/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "v1.16.0"
33
description: A Helm chart for the Meilisearch search engine
44
name: meilisearch
5-
version: 0.15.0
5+
version: 0.15.1
66
icon: https://raw.githubusercontent.com/meilisearch/integration-guides/main/assets/logos/logo.svg
77
home: https://github.com/meilisearch/meilisearch-kubernetes/tree/main/charts/meilisearch
88
maintainers:

charts/meilisearch/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ You can also use `auth.existingMasterKeySecret` to use an existing secret that h
7676
| ingress.tls | list | `[]` | TLS specification |
7777
| livenessProbe.InitialDelaySeconds | int | `0` | |
7878
| livenessProbe.periodSeconds | int | `10` | |
79+
| livenessProbe.timeoutSeconds | int | `10` | |
7980
| nameOverride | string | `""` | String to partially override meilisearch.fullname |
8081
| nodeSelector | object | `{}` | Node labels for pod assignment |
8182
| persistence.accessMode | string | `"ReadWriteOnce"` | PVC Access Mode |
@@ -95,6 +96,7 @@ You can also use `auth.existingMasterKeySecret` to use an existing secret that h
9596
| podSecurityContext.runAsUser | int | `1000` | |
9697
| readinessProbe.InitialDelaySeconds | int | `0` | |
9798
| readinessProbe.periodSeconds | int | `10` | |
99+
| readinessProbe.timeoutSeconds | int | `10` | |
98100
| replicaCount | int | `1` | Number of Meilisearch pods to run |
99101
| resources | object | `{}` | Resources allocation (Requests and Limits) |
100102
| securityContext.allowPrivilegeEscalation | bool | `false` | |
@@ -118,6 +120,7 @@ You can also use `auth.existingMasterKeySecret` to use an existing secret that h
118120
| startupProbe.InitialDelaySeconds | int | `1` | |
119121
| startupProbe.failureThreshold | int | `60` | |
120122
| startupProbe.periodSeconds | int | `1` | |
123+
| startupProbe.timeoutSeconds | int | `1` | |
121124
| tolerations | list | `[]` | Tolerations for pod assignment |
122125
| volumeMounts | list | `[]` | Additional volumes to mount on pod |
123126
| volumes | list | `[]` | Additional volumes for pod |

charts/meilisearch/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,21 @@ spec:
9494
periodSeconds: {{ .Values.startupProbe.periodSeconds }}
9595
initialDelaySeconds: {{ .Values.startupProbe.InitialDelaySeconds }}
9696
failureThreshold: {{ .Values.startupProbe.failureThreshold }}
97+
timeoutSeconds: {{ .Values.startupProbe.timeoutSeconds }}
9798
livenessProbe:
9899
httpGet:
99100
path: /health
100101
port: http
101102
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
102103
initialDelaySeconds: {{ .Values.livenessProbe.InitialDelaySeconds }}
104+
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
103105
readinessProbe:
104106
httpGet:
105107
path: /health
106108
port: http
107109
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
108110
initialDelaySeconds: {{ .Values.readinessProbe.InitialDelaySeconds }}
111+
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
109112
resources:
110113
{{ toYaml .Values.resources | indent 12 }}
111114
{{- if .Values.containers }}

charts/meilisearch/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ startupProbe:
66
periodSeconds: 1
77
InitialDelaySeconds: 1
88
failureThreshold: 60
9+
timeoutSeconds: 1
910

1011
readinessProbe:
1112
periodSeconds: 10
1213
InitialDelaySeconds: 0
14+
timeoutSeconds: 10
1315

1416
livenessProbe:
1517
periodSeconds: 10
1618
InitialDelaySeconds: 0
19+
timeoutSeconds: 10
1720

1821
image:
1922
# -- Meilisearch image name

manifests/meilisearch.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ spec:
7575
app.kubernetes.io/component: search-engine
7676
app.kubernetes.io/part-of: meilisearch
7777
annotations:
78-
checksum/config: 99f5ed2d93e472f0e548cad1d77278ea3fe2d8837f911ab7a999958f71bbc945
78+
checksum/config: 3475180c39b5741fb0c3f07283ca79ec3d6666080733103b501c9f6b31111c4e
7979
spec:
8080
serviceAccountName: meilisearch
8181
securityContext:
@@ -121,18 +121,21 @@ spec:
121121
periodSeconds: 1
122122
initialDelaySeconds: 1
123123
failureThreshold: 60
124+
timeoutSeconds: 1
124125
livenessProbe:
125126
httpGet:
126127
path: /health
127128
port: http
128129
periodSeconds: 10
129130
initialDelaySeconds: 0
131+
timeoutSeconds: 10
130132
readinessProbe:
131133
httpGet:
132134
path: /health
133135
port: http
134136
periodSeconds: 10
135137
initialDelaySeconds: 0
138+
timeoutSeconds: 10
136139
resources:
137140
{}
138141
---

0 commit comments

Comments
 (0)