RedisInsight: The Official High‑Performance GUI for Redis
This article introduces RedisInsight, the official visual management tool for Redis, outlines its key features, provides step‑by‑step installation on Linux and Kubernetes, and demonstrates basic usage for monitoring, querying, and memory analysis through the GUI.
Redis is an open‑source, high‑performance in‑memory key‑value database that can significantly boost server performance. RedisInsight is the official visual tool that helps design, develop, and optimize Redis applications, offering query, analysis, and interactive CLI capabilities with built‑in support for Redis modules.
Key features of RedisInsight :
Only GUI tool that supports Redis Cluster.
Browser‑based interface for searching keys, viewing and editing data.
Supports SSL/TLS connections and provides memory analysis directly in the UI.
1. Physical machine installation
[root@Redis ~]# ls
anaconda-ks.cfg redisinsight-linux64-1.11.0
[root@Redis ~]# mkdir /usr/local/redisinsight
[root@Redis ~]# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
[root@Redis ~]# chmod +x /usr/local/redisinsight/redisinsight-1.11.0Configure environment variables:
[root@Redis ~]# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
[root@Redis ~]# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
[root@Redis ~]# source ~/.bash_profileOptional variables (default values shown): REDISINSIGHT_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 in the background and verify the process:
[root@Redis ~]# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
[root@Redis ~]# ps aux | grep redis2. Kubernetes installation
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: {}Apply the manifest:
[root@Redis ~]# kubectl apply -f redisinsight.yaml3. Basic usage
If Redis is not yet installed, install it first:
[root@Redis ~]# wget https://download.redis.io/releases/redis-6.2.6.tar.gz
[root@Redis ~]# tar zxf redis-6.2.6.tar.gz
[root@Redis ~]# cd redis-6.2.6
[root@Redis redis-6.2.6]# make PREFIX=/usr/local/redis install
[root@Redis redis-6.2.6]# sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/' redis.conf # set IP
[root@Redis redis-6.2.6]# sed -i '/protected-mode/s/yes/no/' redis.conf # disable protected mode
[root@Redis redis-6.2.6]# sed -i '/daemonize/s/no/yes/' redis.conf # enable daemon
[root@Redis redis-6.2.6]# sed -i '/requirepass/s/foobared/123123/' redis.conf # set password
[root@Redis redis-6.2.6]# cp redis.conf /usr/local/redis/
[root@Redis redis-6.2.6]# /usr/local/redis/bin/redis-server /usr/local/redis/redis.confAccess the RedisInsight UI using the configured IP and port (default 8001). The interface displays various Redis metrics, allows interactive operations on keys, and provides memory analysis visualizations, as shown in the accompanying screenshots.
Through these steps, users can install RedisInsight on both bare‑metal servers and Kubernetes clusters, configure it, and leverage its visual capabilities for monitoring, querying, and analyzing Redis instances.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
SpringMeng
Focused on software development, sharing source code and tutorials for various systems.
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.
