charts icon indicating copy to clipboard operation
charts copied to clipboard

[chart/redis-ha Add pod meta label to master

Open tschirmer opened this issue 1 year ago • 2 comments

Would like to see a pod label added onto the master, we can then set a pod disruption budget specifically for the current master, to prevent split brain when nodes go down or the kubernetes descheduler is run.

tschirmer avatar Oct 28 '24 00:10 tschirmer

@tschirmer Something like additionalLabels just specific to the master / slaves:

redis:
  master:
     additionalLabels: {}
  slaves:
     additionalLabels: {}

DandyDeveloper avatar Nov 07 '24 11:11 DandyDeveloper

This would help me quite a lot.

I have dedicated nodes for my redis-ha, but would like to spawn other pods on the nodes which has the replicas (so I can take advantage of the memory and cpu for the idle nodes).

If I had this feature I could add some rules to not spawn pods on the node which has the master label

lindesvard avatar Feb 14 '25 09:02 lindesvard