Master RedisInsight: Install, Deploy on Kubernetes, and Explore Core Features
This guide walks you through installing RedisInsight on Linux, configuring its environment variables, running it as a background service, deploying it on Kubernetes with a ready‑to‑use YAML, and using its UI to monitor Redis metrics, browse and edit data, and analyze memory usage.
RedisInsight is an intuitive GUI management tool for Redis that monitors memory, connections, hit rate, uptime, and provides a built‑in CLI with module support.
Installation and Usage
1. Physical Installation
Download the RedisInsight package, move it to /usr/local/redisinsight, make it executable, set environment variables (e.g., REDISINSIGHT_HOST, REDISINSIGHT_HOST_DIR), and start the service in the background.
# 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.0
# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
# source ~/.bash_profile
# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
# ps aux | grep redis2. Kubernetes Installation
Create a redisinsight.yaml that defines a Service (NodePort 31888 → targetPort 8001) and a Deployment using the redislabs/redisinsight:1.7.0 image.
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: {}3. Basic Usage
If Redis is not yet installed, download, compile, and configure it (bind IP, disable protected mode, enable daemon, set password) before starting the server.
# 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
# sed -i '/protected-mode/s/yes/no/g' redis.conf
# sed -i '/daemonize/s/no/yes/g' redis.conf
# sed -i '/requirepass/s/foobared/123123/g' redis.conf
# sed -i '/requirepass 123123/s/^#//g' redis.conf
# cp redis.conf /usr/local/redis/
# /usr/local/redis/bin/redis-server /usr/local/redis/redis.confAccess RedisInsight via the configured IP and port; the UI displays Redis memory usage, connection statistics, key browsing, editing, and built‑in memory analysis tools.
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 Backend Technology
Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!
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.
