charts icon indicating copy to clipboard operation
charts copied to clipboard

[bitnami/redis] replica anti-affinity

Open jcpunk opened this issue 2 years ago • 1 comments

Name and Version

bitnami/redis 17.11.6

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.

jcpunk avatar Jun 20 '23 17:06 jcpunk

Hi @jcpunk,

Sorry for the delay, thanks for reporting this issue.

This is currently on our radar. We have an internal task in the backlog to review all applications with multiple roles. Unfortunately, we're a small team and our capacity is not too high. I will move this issue to ON-HOLD until we have updates about the related task.

As a workaround, you could combine the chart values commonLabels and affinity to configure a different affinity type.

CeliaGMqrz avatar Jun 30 '23 11:06 CeliaGMqrz