Charts: [redis] In version 11.0.0 you cannot just install master, without slave

Created on 18 Sep 2020  Â·  3Comments  Â·  Source: bitnami/charts

Which chart:
redis
version: 11.0.0

Describe the bug
In this commit there is one condition that causes not able to install only the master, without the slave

To Reproduce
install with cluster.enabled=false

$ helm install redis bitnami/redis --set cluster.enabled=false

Expected behavior
Sometimes we just need a single instance of redis (a master), no cluster or sentinel.

Most helpful comment

Ran into the same issue – a workaround for now is to just leave it as enabled and set cluster.slaveCount to 0. 🤷

All 3 comments

Workaround discussed on https://github.com/bitnami/charts/pull/3658

Still no word from Bitnami if cluster=false and sentinel=false are actually supported.

Ran into the same issue – a workaround for now is to just leave it as enabled and set cluster.slaveCount to 0. 🤷

Hello all,

It does seems that we introduced a typo in PR #3658 that is provoking that no master instance is installed unless cluster.enabled=false, sorry for the inconvenience. I will make a couple more of tests and create a new PR to fix this issue.

In the meantime, please use the workaround provided by @florent-tails of setting the number of slaves in the cluster to 0. Thanks for helping out!!

Was this page helpful?
0 / 5 - 0 ratings