Closed arunjp closed 5 years ago
Nope, you're welcome to help add it to either stable/mongodb or stable/mongodb-replicaset charts.
Hi @steven-sheehy, Thanks for responding.
@arunjp This repository might be a good starting point:
@steven-sheehy thanks so much. Will look into it.
@arunjp I have created one for internal use at work. At the moment, it only deploys a minimal setup using 3 mongos routers and 2 replicasets (as subcharts) for configdb and shard0. It also has authentication enabled. If you are interested, I can investigate if my employer agrees to publish the source code.
@arunjp I now uploaded it to my fork of the charts repo. I currently really don't have the time to take care of fullfilling the technical contribution Guidelines - I will get back to that and create a PR when I have some spare time. You can have a look here: mongodb-sharded at oldluke92's repo
@steven-sheehy I am asking myself if this should be added to the stable/mongodb-replicaset chart or be an own one, since it is using at least 2 replica-sets ...
I think it could be integrated into mongodb-replicaset if it was cleaned up. Some issues I see that would have to be addressed:
cc @unguiculus
Oh well - some explanation:
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.
There is the MongoDB Enterprise Kubernetes Operator but sadly, it is not free... :/ This feature requires big changes but it could be really useful!
Check as well https://github.com/styxlab/kubernetes-mongodb-shard it's a config generator.
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.
HI @steven-sheehy I have implemented mongodb sharding in kubernetes recently . Can I create a helm chart and create a pull request for it ?
I don't think the maintainers of helm/charts would accept a third mongodb chart. You should add it to one of the existing mongodb charts as an optional feature.
hi @biddwan09 I took a step back, because the requirement to implement it in one of the other 2 charts makes this suuper ugly to do - because a sharded db would use one of the other charts 2 - n times to deploy replicasets for configdb and shard db's and using a chart multiple times within itself is not possible.
Also the mongodb-replicaset chart is pretty much dying - it doesn't seem like it will be upgraded to mongodb 4 and the regular mongodb chart (done by bitnami) can deploy replicasets now.
I tried upgrading my first try to the regular mongodb chart using mongodb 4 - with no success so far. I also currently have no time to do so as upgrading is rather uncritical atm (EOL for 3.6 is not even announced yet).
Actually I'm not even sure if I want to use helm for this at all anymore due to lacking the ability to deploy an arbitrary amount of shardservers on deploy / using helm upgrade in an easy way. I might create a chart for the mongos router itself and then use ansible to deploy it and as many replicasets as I want. But maybe I'm just missing something how to do that with helm.
Is this a request for help?: Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Feature Request We wanted to create MongoDB sharded cluster for Kubernetes for Azure cloud platform. Wanted to know if there's a helm chart that supports MongoDB sharded cluster.
Version of Helm and Kubernetes: Helm - 2.11.0 Kubernetes - 1.12.5