-
Notifications
You must be signed in to change notification settings - Fork 45
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
Support a clustered redis #1215
Conversation
c85b267
to
c293f68
Compare
OK, testing this in a dev environment, and things seem to be working mostly as expected. Given the time crunch, I don't know if this is a now thing, or a later thing... but right now this config ONLY supports a clustered redis with a failover sentinel. It would be nice for us to maybe handle the use case where someone can easily drop in a single redis node instead. Could also lob that into the project to fix how we handle not having a redis in #1208 |
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 pretty much have to take the k8s changes on faith but everything you did in the frontend code looks legit. I just have some small suggestions regarding squashing this down to a smaller number of commits, no notes otherwise.
@@ -43,16 +43,16 @@ spec: | |||
key: ips | |||
# Global rate limiting | |||
- name: MAX_CONCURRENT_ES_REQUESTS | |||
value: '100' | |||
value: '10' |
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.
Since it looks like this commit just undoes changes made in the immediately previous commit, let's merge this one into the previous one. I made Elissa do it, fair's fair. 😅
@@ -35,7 +35,7 @@ spec: | |||
- name: WRITE_CACHE_REDIS_URL | |||
value: redis | |||
- name: RATE_LIMITER_REDIS_URL | |||
value: redis://redis:26379/2 | |||
value: redis |
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.
Looks like you could merge this commit and the previous two all together.
c293f68
to
a28d76d
Compare
453153f
to
560ce8d
Compare
works on #1183 -- probably need a developer to vet this a bit...