You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, renku services do not use Redis Sentinel correctly. It is necessary to modify the renku helm chart to enable the sentinels to be specified, to propagate this to the appropriate services and for them to pick up and apply this configuration. This leads to issues where services which are dependent on Redis lose connection to Redis in case of Redis restart and can be inoperational.
Link to project
N/A.
To Reproduce
Terminate the Redis master pod and see some services having issues.
Expected behavior
Services dependent on Redis should use the Sentinel mechanisms to become aware of a change in Redis master.
Screenshots and/or execution output
N/A.
Run environment (please complete the following information):
N/A.
Additional context
Have discussed this with @Panaetius and thought it best to include an issue here. There are related issues for the different renku components:
the above sentinelList does not provide for passwords - it's not clear to me that there is any point/benefit in adding a password to the sentinel in our configuration (currently the sentinel is password protected).
redis-sentinel:// does not seem to be IANA recognized; however, it is clear and it is used by the Java lettuce library
using a string in this manner allows us to increase the number of sentinels quite easily if necessary; it seems a more natural solution than distributing lists of hosts and ports even if there is somehow a cost of ensuring no error in the string
Logic can be added to the individual services as follows:
if the sentinel list is provided, use this, otherwise operate as before
this will mean no breaking changes
we can revisit this subsequently and decide if we want to change the behaviour after this migration has been performed.
The text was updated successfully, but these errors were encountered:
@seanrmurphy I think you mentioned this already but I think it is worth mentioning here again... Will the python redis clients be able to directly accept the proposed redis sentinel list string or do we need to do some parsing. I think I vaguely remember you mentioning using other libraries to parse this?
My view is that naming the service redis+sentinel seems a bit unnatural; redis-sentinel feels more comfortable to me (but I understand that's quite a weak reason).
Regarding which of our components use Redis, I provided links to issues above which have been created for each of these components.
Describe the bug
Currently,
renku
services do not use Redis Sentinel correctly. It is necessary to modify therenku
helm chart to enable the sentinels to be specified, to propagate this to the appropriate services and for them to pick up and apply this configuration. This leads to issues where services which are dependent on Redis lose connection to Redis in case of Redis restart and can be inoperational.Link to project
N/A.
To Reproduce
Terminate the Redis master pod and see some services having issues.
Expected behavior
Services dependent on Redis should use the Sentinel mechanisms to become aware of a change in Redis master.
Screenshots and/or execution output
N/A.
Run environment (please complete the following information):
N/A.
Additional context
Have discussed this with @Panaetius and thought it best to include an issue here. There are related issues for the different
renku
components:Proposal:
global.redis.sentinel.sentinelList
to thevalues.yaml
sentinelList
does not provide for passwords - it's not clear to me that there is any point/benefit in adding a password to the sentinel in our configuration (currently the sentinel is password protected).redis-sentinel://
does not seem to be IANA recognized; however, it is clear and it is used by the Java lettuce libraryLogic can be added to the individual services as follows:
The text was updated successfully, but these errors were encountered: