Databases 6 min read

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.

Java Architect Essentials
Java Architect Essentials
Java Architect Essentials
Master RedisInsight: Install, Configure, and Use the Redis GUI on Linux and Kubernetes

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.0

Define 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_DIR

Reload 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 redisinsight

Kubernetes 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.yaml

Redis 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.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

KubernetesRedisLinuxtutorialinstallationRedisInsightDatabase GUI
Java Architect Essentials
Written by

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.

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.