How to Install and Use RedisInsight for Redis Cluster Management
RedisInsight is a powerful GUI for Redis that supports cluster management, SSL connections, and memory analysis; this guide walks through downloading, installing on Linux, configuring environment variables, running as a service, deploying via Kubernetes, and using the web UI to monitor and operate Redis instances.
RedisInsight Overview
RedisInsight is a visual GUI tool for managing Redis instances, providing monitoring of memory, connections, hit rate, uptime, and an integrated CLI with support for Redis modules.
Key Features
Only GUI that supports Redis Cluster.
Browser‑based key search, view and edit.
SSL/TLS connections and memory analysis.
1. Physical Installation
Download and unpack
# ls
anaconda-ks.cfg redisinsight-linux64-1.11.0
# mkdir /usr/local/redisinsight
# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
# chmod +x /usr/local/redisinsight/redisinsight-1.11.0Configure environment variables
# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
# source ~/.bash_profileREDISINSIGHT_PORT – listening port (default 8001)
REDISINSIGHT_HOST – IP address (default 0.0.0.0)
LOG_DIR – log directory (default REDISINSIGHT_HOST_DIR)
REDISINSIGHT_HOST_DIR – data directory (default ~/.redisinsight)
Start the service
# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 & # run in background
# ps aux | grep redis # verify process2. Kubernetes Deployment
Create redisinsight.yaml
apiVersion: v1
kind: Service
metadata:
name: redisinsight-service
spec:
type: NodePort
ports:
- port: 80
targetPort: 8001
nodePort: 31888
selector:
app: redisinsight
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redisinsight
labels:
app: redisinsight
spec:
replicas: 1
selector:
matchLabels:
app: redisinsight
template:
metadata:
labels:
app: redisinsight
spec:
containers:
- name: redisinsight
image: redislabs/redisinsight:1.7.0
imagePullPolicy: IfNotPresent
volumeMounts:
- name: db
mountPath: /db
ports:
- containerPort: 8001
protocol: TCP
volumes:
- name: db
emptyDir: {}Deploy
# kubectl apply -f redisinsight.yaml3. Basic Usage
Install Redis (if not already)
# wget https://download.redis.io/releases/redis-6.2.6.tar.gz
# tar zxf redis-6.2.6.tar.gz
# cd redis-6.2.6
# make PREFIX=/usr/local/redis install
# sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/g' redis.conf # change bind IP
# sed -i '/protected-mode/s/yes/no/g' redis.conf # disable protected mode
# sed -i '/daemonize/s/no/yes/g' redis.conf # enable daemonize
# sed -i '/requirepass/s/foobared/123123/g' redis.conf # set password
# sed -i '/requirepass 123123/s/^#//g' redis.conf # uncomment password line
# cp redis.conf /usr/local/redis/
# /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf # start RedisAccess RedisInsight UI
Open a browser and navigate to the configured IP and port (default 8001) to reach the RedisInsight management interface.
Explore Redis information
The UI displays memory usage, key statistics, and other runtime metrics.
Perform operations
You can edit keys, run CLI commands, and manage data directly from the interface.
Memory analysis
RedisInsight provides a visual memory analyzer to help identify large keys and memory fragmentation.
Senior Brother's Insights
A public account focused on workplace, career growth, team management, and self-improvement. The author is the writer of books including 'SpringBoot Technology Insider' and 'Drools 8 Rule Engine: Core Technology and Practice'.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
