percona / roadmap

Public Percona Roadmaps
10 stars 1 forks source link

Helm values for mongo db helm charts should allow override of individual replicaset configurations ,like size ,requests, limits etc #98

Closed Padmabishek closed 10 months ago

Padmabishek commented 1 year ago

Community Note

Tell us about the feature Current helm values file for mongo db uses array structure for configuring replica sets . This will be difficult to override using the helm --set option as it will override the entire array options .Please refer the recommended way i.e, using maps here. Helm charts should allow override of individual replica set configurations. current configuration for replsets is as below replsets:

It can be made replsets: rs0: size: 3 affinity: affinityEnabled: true advanced: nodeAffinity: reqdForSchIgnForExec: nodeSelTerms: matchExpr: This will be very useful in overriding default configurations in helm using deployment tools like porter Which product(s) is this request for? MongoDB

Tell us about the problem Its difficult to override replicaset configurations like limits and requests and size , we may have to pass the entire array for setting using -- set. Helm charts should allow override of individual replica set configurations.

Describe alternatives you've considered Passing entire array using --set

Additional context Anything else that you think might be useful

spron-in commented 10 months ago

Hello @Padmabishek , thank you for submitting it. It seems this should rather land in percona-helm-chart issues or in our JIRA, but not in the roadmap.

I created the issue in helm-chart issues: https://github.com/percona/percona-helm-charts/issues/264