RedisInsight¶
Redis management and visualization interface.
Overview¶
| Property | Value |
|---|---|
| Namespace | redis-sentinel |
| Type | HelmRelease |
| Layer | Database UI (Layer 6) |
| Dependencies | Redis Sentinel |
| Access | http://redis.local |
Purpose¶
RedisInsight provides a graphical interface for managing Redis, browsing keys, executing commands, and analyzing memory usage.
Features¶
- Browser - Navigate and search keys
- CLI - Built-in Redis CLI
- Profiler - Real-time command monitoring
- Memory Analysis - Memory usage breakdown
- Slow Log - Identify slow commands
- Pub/Sub - Monitor channels
Access¶
Connecting to Redis¶
Add Database¶
- Click "Add Redis Database"
- Configure:
| Field | Value |
|---|---|
| Host | redis-sentinel-master.redis-sentinel |
| Port | 6379 |
| Password | From secret |
Get Password¶
kubectl get secret redis-sentinel -n redis-sentinel \
-o jsonpath='{.data.redis-password}' | base64 -d
Common Tasks¶
Browse Keys¶
- Select database
- Use "Browser" tab
- Search or filter keys
- Click key to view value
Execute Commands¶
- Open "CLI" tab
- Enter Redis commands
- View output
Monitor Commands¶
- Open "Profiler" tab
- Click "Start Profiler"
- Watch real-time commands
Analyze Memory¶
- Open "Analysis" tab
- Click "New Report"
- Review memory breakdown by key pattern
Verification¶
# Check pod status
kubectl get pods -n redis-sentinel -l app.kubernetes.io/name=redisinsight
# Check logs
kubectl logs -n redis-sentinel -l app.kubernetes.io/name=redisinsight
Troubleshooting¶
Cannot connect to Redis¶
- Verify Redis is running
- Check password is correct
- Verify service DNS
# Test connection from RedisInsight pod
kubectl exec -it -n redis-sentinel deploy/redisinsight -- \
redis-cli -h redis-sentinel-master.redis-sentinel -a <password> ping
UI not loading¶
# Check pod status
kubectl describe pod -n redis-sentinel -l app.kubernetes.io/name=redisinsight
# Check logs
kubectl logs -n redis-sentinel -l app.kubernetes.io/name=redisinsight
Slow performance¶
- Reduce key scan batch size
- Avoid scanning large key spaces
- Use specific key patterns
Related¶
- Redis Sentinel - Redis cluster
- External Secrets - Password management