bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.84k stars 9.13k forks source link

[bitnami/mongodb] replica anti-affinity #17234

Open jcpunk opened 1 year ago

jcpunk commented 1 year ago

Name and Version

bitnami/mongodb 13.15.2

What is the problem this feature will solve?

By default kubernetes may simply decide to put the redis master/slave hosts on a single worker. This can hide the fact that, while you've got multiple systems for HA, they are all on a single node.

What is the feature you are proposing to solve the problem?

Set a default pod anti-affinity for the redis master/slaves to spread out the pods that can be ignored if no other scheduling paths are viable.

What alternatives have you considered?

manually passing in the affinity to the chart as extra values.

CeliaGMqrz commented 1 year ago

Hi @jcpunk,

Thanks for reporting this issue. As I have commented here, we move this related task on hold until we have updates.