Installing and Using RedisInsight: GUI Management for Redis on Linux and Kubernetes
This article provides a step‑by‑step guide to installing RedisInsight, configuring its environment variables, launching the service on Linux, deploying it with Kubernetes, and using its graphical interface to monitor and manage Redis clusters, keys, and memory.
RedisInsight is a visual GUI management tool for Redis that monitors memory, connections, hit rate, uptime, and provides a built‑in CLI with module support.
Key features include unique support for Redis Cluster, browser‑based key search and edit, SSL/TLS connections, and memory analysis.
Physical installation on Linux involves downloading the RedisInsight package, moving it to /usr/local/redisinsight , making it executable, setting environment variables (REDISINSIGHT_HOST, REDISINSIGHT_HOSTDIR, etc.), and starting the service with nohup .
[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.0
[root@Redis ~]# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
[root@Redis ~]# echo "export REDISINSIGHT_HOSTDIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
[root@Redis ~]# source ~/.bash_profile
[root@Redis ~]# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
[root@Redis ~]# ps aux | grep redisKubernetes deployment is performed by creating a redisinsight.yaml file that defines a NodePort Service and a Deployment, then applying it with kubectl apply -f 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: {}After Redis is installed (or an existing instance is used), RedisInsight can be accessed via the configured IP and port, where users can view cluster information, perform data operations, and analyze memory usage through the graphical interface.
Java Architect Essentials
Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.
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.