mirror of
https://github.com/helm/charts.git
synced 2026-08-20 21:08:12 +00:00
[stable/mongodb] fix failing liveness probe during long running mongodb recovery (#17502)
* fix failing liveness probe during long running mongodb recovery
this fix lets the livenes probe succeed during a long running recovery.
The new liveness probe looks for the running mongod process inside the
container, which allows a successful request. The pod will still only be
ready once the recovery is finished and only then traffic will be served
to this pod.
bumped chart version
fix #17501
Signed-off-by: Jonny Langefeld <jonny.langefeld@gmail.com>
* Rebase on master and bump chart version
because of [2a63b08df1](https://github.com/helm/charts/commit/2a63b08df140003b427e0b349c2b4b350d7d4089)
Signed-off-by: Jonny Langefeld <jonny.langefeld@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
978bfa9658
commit
f4e0467eef
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: mongodb
|
||||
version: 7.3.0
|
||||
version: 7.3.1
|
||||
appVersion: 4.0.12
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -164,9 +164,8 @@ spec:
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- mongo
|
||||
- --eval
|
||||
- "db.adminCommand('ping')"
|
||||
- pgrep
|
||||
- mongod
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
|
||||
@@ -152,9 +152,8 @@ spec:
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
- mongo
|
||||
- --eval
|
||||
- "db.adminCommand('ping')"
|
||||
- pgrep
|
||||
- mongod
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
|
||||
Reference in New Issue
Block a user