Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[redis] In version 11.0.0 you cannot just install master, without slave #3707

Closed
zackijack opened this issue Sep 18, 2020 · 3 comments · Fixed by #3738
Closed

[redis] In version 11.0.0 you cannot just install master, without slave #3707

zackijack opened this issue Sep 18, 2020 · 3 comments · Fixed by #3738

Comments

@zackijack
Copy link

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.

@Klohto
Copy link

Klohto commented Sep 18, 2020

Workaround discussed on #3658

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

@florent-tails
Copy link
Contributor

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

@FraPazGal
Copy link
Contributor

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants