Master RedisInsight: Install, Configure, and Use the Redis GUI on Linux and Kubernetes
This guide explains what RedisInsight is, outlines its key features, and provides step‑by‑step instructions for installing the tool on a Linux server, configuring environment variables, deploying it with Kubernetes, and using its web UI to monitor and manage Redis instances.
Introduction
Redis is an open‑source in‑memory key‑value store. RedisInsight is a visual GUI for managing Redis clusters, providing monitoring, an embedded CLI, memory analysis, and built‑in support for Redis modules.
Key Features
Only GUI tool that supports Redis Cluster.
Browser‑based interface for searching, viewing and editing keys.
SSL/TLS connections and built‑in memory analysis.
Linux Installation
Download the Linux package (e.g., redisinsight-linux64-1.11.0), extract it and move the binary to /usr/local/redisinsight.
# mkdir -p /usr/local/redisinsight
# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
# chmod +x /usr/local/redisinsight/redisinsight-1.11.0Define environment variables in ~/.bash_profile (or a profile script) to control host, port, data and log directories.
export REDISINSIGHT_HOST=192.168.1.1
export REDISINSIGHT_PORT=8001
export REDISINSIGHT_HOST_DIR=$HOME/.redisinsight
export LOG_DIR=$REDISINSIGHT_HOST_DIRReload the profile with source ~/.bash_profile.
Start RedisInsight in the background and verify the process.
# nohup /usr/local/redisinsight/redisinsight-1.11.0 &
# ps -ef | grep redisinsightKubernetes Deployment
Create a manifest redisinsight.yaml that defines a Service (NodePort 31888 → container port 8001) and a Deployment using the official Docker image redislabs/redisinsight:1.7.0.
apiVersion: v1
kind: Service
metadata:
name: redisinsight-service
spec:
type: NodePort
selector:
app: redisinsight
ports:
- port: 80
targetPort: 8001
nodePort: 31888
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: 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
ports:
- containerPort: 8001
volumeMounts:
- name: db
mountPath: /db
volumes:
- name: db
emptyDir: {}Apply the manifest:
# kubectl apply -f redisinsight.yamlRedis Server Installation (Optional)
If a Redis instance is not already running, the following commands install Redis 6.2.6 from source, bind it to 192.168.1.1, disable protected mode, enable daemon mode, set a password, and start the server.
wget https://download.redis.io/releases/redis-6.2.6.tar.gz
tar xzf redis-6.2.6.tar.gz
cd redis-6.2.6
make PREFIX=/usr/local/redis install
sed -i 's/^bind 127.0.0.1/bind 192.168.1.1/' redis.conf
sed -i 's/protected-mode yes/protected-mode no/' redis.conf
sed -i 's/daemonize no/daemonize yes/' redis.conf
sed -i 's/requirepass .*/requirepass 123123/' redis.conf
cp redis.conf /usr/local/redis/
nohup /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf &Accessing RedisInsight
Open a web browser and navigate to
http://<strong>REDISINSIGHT_HOST</strong>:<strong>REDISINSIGHT_PORT</strong>. The UI displays memory usage, connection count, hit rate, uptime, key statistics and provides an embedded CLI for direct interaction and memory analysis.
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.
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.
