You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the app using aks-store-all-in-one.yaml config but the mongodb pod goes into CrashLoopBackOff because its liveness probe fails. Liveness check is failing with the following error:
pets 0s Warning Unhealthy pod/mongodb-0 Liveness probe failed: OCI runtime exec failed: exec failed: unable to start container process: exec: "mongosh": executable file not found in $PATH: unknown
But the original error message looks valid: it seems that the image (mcr.microsoft.com/mirror/docker/library/mongo:4.2) referenced in the linked yaml does not contain the mongosh tool (only mongo CLI).
Activity
pauldotyu commentedon Feb 12, 2025
Suraj Deshmukh (@surajssd) what type of kubernetes cluster were you running this on?
surajssd commentedon Feb 13, 2025
Paul Yu (@pauldotyu) I was using Minikube.
But this seems like an issue regardless of the k8s kind. This looks like a container image issue.
ITOpenwork commentedon Mar 12, 2025
The following settings seem to work good in minikube:
kszicsillag commentedon Oct 8, 2025
But the original error message looks valid: it seems that the image (
mcr.microsoft.com/mirror/docker/library/mongo:4.2) referenced in the linked yaml does not contain themongoshtool (onlymongoCLI).