Sentinel
Architecture
Redis Sentinel is a tool that provides automatic failover and monitoring for Redis nodes. It works by running separate processes that communicate with each other and with Redis nodes to detect failures, elect a new master node, and configure the other nodes to replicate from the new master. Sentinel can also perform additional tasks such as sending notifications and managing configuration changes. Redis Sentinel is a flexible and robust solution for implementing high availability in Redis.

Helm Installation
In redis sentinel mode, we deploy redis sentinel as a highly available monitoring solution that provides automatic failover, monitoring, and configuration management for Redis instances.
Installation can be easily done via helm
command:
Note: The redisReplicationName
parameter must reference an existing RedisReplication resource. Make sure to deploy a RedisReplication resource first before installing the sentinel.
Verify the sentinel redis setup by kubectl command line.
YAML Installation
Examples folder has different types of manifests for different scenarios and features. There are these YAML examples present in this directory:
- additional_config
- advance_config
- affinity
- disruption_budget
- external_service
- password_protected
- private_registry
- probes
- redis_monitoring
- tls_enabled
- upgrade_strategy
A basic sample manifest for sentinel redis:
Important: The redisReplicationName
field must reference an existing RedisReplication resource. RedisSentinel monitors and manages Redis instances created by RedisReplication, so ensure you have deployed a RedisReplication resource with the same name before applying this manifest.
The yaml manifest can easily get applied by using kubectl
.