-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/helm] Can't install older versions of MongoDB #18730
Comments
If I run:
which is (more or less) what K8s is running here, the container quits immediately. Interestingly, if I remove the And. sure enough:
gets it up and running. |
Well... this almost works. If you try to make this a replica set and set a password on your mongodb cluster it fails with:
But, of course, you can't create a replica set without a password because of #16450. |
Hi @jwalton When MongoDB 3.2.11 was released, the The chart evolved significantly during the last years and the images used on it ( I recommend you to try to install it with an old version of the chart and try to make it work. You can list the versions using the command below: $ helm search stable/mongodb --versions And install the chart using: $ helm install mongo stable/mongodb \
--version X.Y.Z
--set image.tag=3.2.9-r2
... Under the section below you can find some of the notable changes included on the different MongoDB releases: Probably the biggest changes was introduced at |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Describe the bug
Trying to install MongoDB 3.2.x results in a container that crashes continuously.
I have an older app I'm trying to migrate to Kubernetes, and the current production servers are running 3.2. My plan is to take a snapshot of the drives, kill off the old production instance, and then bring up a new instance to minimize downtime. But to do this, I'd either need to upgrade the existing production machines to the latest MongoDB, or I'd need to bring up MongoDB 3.2 in k8s and then upgrade in k8s. I prefer the latter, because I can try it out ahead of time and make sure it all goes smoothly, whereas I only get one chance to get it right on a live production system.
Version of Helm and Kubernetes:
Helm v3.0.0-rc.2
Kubernetes v1,14,7-eks
Which chart:
stable/helm
What happened:
The MongoDB container is stuck in CrashLoopBackOff. It doesn't seem to print any logs.
What you expected to happen:
MongoDB should come up.
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: