Skip to content
Snippets Groups Projects
Commit f9f4634c authored by georgi.todorov's avatar georgi.todorov
Browse files

remove liveness probe

parent 3986cb77
No related branches found
No related tags found
1 merge request!1mongo-custom-helm
Pipeline #58403 passed
......@@ -37,17 +37,6 @@ spec:
volumeMounts:
- name: mongo-persistent-storage
mountPath: /data/db
livenessProbe:
exec:
command:
- >-
test $(echo "rs.initiate().ok || rs.status().ok" | mongo -u
root -p root --quiet) -eq 1
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 30
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
......@@ -55,7 +44,7 @@ spec:
image: cvallance/mongo-k8s-sidecar
env:
- name: MONGO_SIDECAR_POD_LABELS
value: name={{ template "mongodb.name" . }}
value: name=mongo
- name: KUBERNETES_MONGO_SERVICE_NAME
value: {{ template "mongodb.name" . }}
resources: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment