-
Notifications
You must be signed in to change notification settings - Fork 176
fix: recommended setting for redis when using 1 replica #359
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
base: main
Are you sure you want to change the base?
Conversation
To use only 1 replicas, we need to update the redis configuration min-replicas-to-write to 0 otherwise we have the error message "NOREPLICAS Not enough good replicas to write". Ref: https://stackoverflow.com/a/59737862
| # https://artifacthub.io/packages/helm/dandydev-charts/redis-ha#general-parameters | ||
| # | ||
| # Recommended: | ||
| # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should take the opportunity and change this section a bit more. Instead of having a single node cluster setup as the recommendation. We should reference the example files directory here. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pierluigilenoci whats your stance on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anything that improves the readability or usefulness of the value file is welcome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tuunit, do you think we should move forward with this fix?
Hello,
To use only 1 replicas, we need to update the redis configuration
min-replicas-to-writeto 0 otherwise we have the error message "NOREPLICAS Not enough good replicas to write".Ref: https://stackoverflow.com/a/59737862
Note: It's well configured in the CI :
manifests/helm/oauth2-proxy/ci/redis-standalone-values.yaml
Line 29 in 3832a76
It's just missing in the doc