Databases 8 min read

Master RedisInsight: Install, Deploy on Kubernetes, and Use the GUI

This guide introduces RedisInsight—a visual Redis GUI—covers its key features, provides step‑by‑step instructions for Linux and Kubernetes installation, explains environment variable configuration, shows how to start the service, and demonstrates basic usage for monitoring and managing Redis instances.

Top Architect
Top Architect
Top Architect
Master RedisInsight: Install, Deploy on Kubernetes, and Use the GUI

1. RedisInsight Overview

RedisInsight is a visual GUI management tool for Redis that monitors memory usage, connection count, hit rate, and uptime, and provides an integrated CLI to interact with Redis instances, including support for Redis modules.

Only GUI tool that fully supports Redis Cluster.

Browser‑based key search, data view and edit.

SSL/TLS connections and built‑in memory analysis.

2. Installing and Using RedisInsight

2.1 Physical Installation

Download the Linux package, extract it, move it to a dedicated directory, make it executable, configure environment variables, and start the service.

[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

Configure environment variables:

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

Key variables: 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:

# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
# ps aux | grep redis   # verify the process is running

2.2 Kubernetes Installation

Create a redisinsight.yaml file that defines a Service (NodePort 31888 → targetPort 8001) and a Deployment running the official 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: {}

Deploy with:

# kubectl apply -f redisinsight.yaml

2.3 Basic Usage of RedisInsight

If Redis is not yet installed, download, compile, and configure it:

# 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   # set bind IP
# sed -i '/protected-mode/s/yes/no/g' redis.conf               # disable protected mode
# sed -i '/daemonize/s/no/yes/g' redis.conf                  # run as daemon
# sed -i '/requirepass/s/foobared/123123/g' redis.conf        # set password
# sed -i '/requirepass 123123/s/^#//g' redis.conf             # uncomment password line
# cp redis.conf /usr/local/redis/
# /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf

Access RedisInsight via the configured IP and port (e.g., http://192.168.1.1:8001). The UI displays various Redis metrics, allows key editing, and provides memory analysis tools.

Through the interface you can view real‑time statistics, edit keys, and run memory analysis to identify hot keys or memory leaks.

KubernetesRedisInstallationRedisInsightDatabase GUI
Top Architect
Written by

Top Architect

Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.

0 followers
Reader feedback

How this landed with the community

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.