Databases 5 min read

RedisInsight: Introduction, Installation, and Basic Usage

RedisInsight is a GUI for Redis that monitors memory, connections, hit rate, and uptime, supports clusters, SSL/TLS, and key editing, and can be installed on Linux via a downloadable package with environment variables and launched as a service, or deployed on Kubernetes using a NodePort service and a Deployment of the redislabs/redisinsight image, after which the UI provides metrics, data editing, and memory analysis.

Java Tech Enthusiast
Java Tech Enthusiast
Java Tech Enthusiast
RedisInsight: Introduction, Installation, and Basic Usage

RedisInsight is an intuitive GUI management tool for Redis, providing monitoring of memory, connections, hit rate, uptime, and an integrated CLI.

Key features include: unique support for Redis Cluster, browser‑based key search and edit, SSL/TLS connections, and memory analysis.

Installation (Linux): download the package, extract, move to /usr/local/redisinsight, set executable permission, configure environment variables (REDISINSIGHT_HOST, REDISINSIGHT_HOST_DIR, LOG_DIR, REDISINSIGHT_PORT), and start 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

Set environment variables:

# export REDISINSIGHT_HOST=192.168.1.1 >> ~/.bash_profile
# export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight >> ~/.bash_profile
# source ~/.bash_profile

Start the service:

# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &

Kubernetes deployment: create a redisinsight.yaml defining a NodePort Service (port 80 → targetPort 8001, nodePort 31888) and a Deployment with the redislabs/redisinsight:1.7.0 image, volume mounts, and containerPort 8001.

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
        ports:
        - containerPort: 8001
          protocol: TCP
        volumeMounts:
        - name: db
          mountPath: /db
      volumes:
      - name: db
        emptyDir: {}

After deployment, access the RedisInsight UI via the configured IP and port to view Redis metrics, edit data, and perform memory analysis.

GUIKubernetesredisinstallationRedisInsight
Java Tech Enthusiast
Written by

Java Tech Enthusiast

Sharing computer programming language knowledge, focusing on Java fundamentals, data structures, related tools, Spring Cloud, IntelliJ IDEA... Book giveaways, red‑packet rewards and other perks await!

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.