REDIS_SENTINEL_NODES #31601
Unanswered
devysh1907
asked this question in
Q&A / Help
Replies: 1 comment 2 replies
-
To configure Superset to point at a sentinel Redis node for automatic connection to the Redis Master, you need to use the # Superset configuration file
# Define the list of sentinel nodes
CACHE_REDIS_SENTINELS = [("sentinel1.example.com", 26379), ("sentinel2.example.com", 26379)]
# Define the name of the master node
CACHE_REDIS_SENTINEL_MASTER = "mymaster"
# Optional: Redis password
CACHE_REDIS_PASSWORD = "your_redis_password"
# Optional: Sentinel password
CACHE_REDIS_SENTINEL_PASSWORD = "your_sentinel_password"
# Optional: Database number
CACHE_REDIS_DB = 0
# Optional: Key prefix
CACHE_KEY_PREFIX = "superset_"
# Optional: SSL configuration
CACHE_REDIS_SSL = False
CACHE_REDIS_SSL_CERTFILE = None
CACHE_REDIS_SSL_KEYFILE = None
CACHE_REDIS_SSL_CERT_REQS = "required"
CACHE_REDIS_SSL_CA_CERTS = None Adjust the parameters as needed for your specific environment to enable Superset to connect to the Redis master node automatically using the specified sentinel nodes [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I configure Superset to point at a sentinel Redis node so that it can automatically connect to Redis Master?
Beta Was this translation helpful? Give feedback.
All reactions