Databases 6 min read

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.

Java Backend Technology
Java Backend Technology
Java Backend Technology
Master RedisInsight: Install, Deploy on Kubernetes, and Explore Core Features

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 redis
RedisInsight service running
RedisInsight service running

2. 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: {}
Kubernetes deployment of RedisInsight
Kubernetes deployment of RedisInsight

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.conf
Redis server running
Redis server running

Access RedisInsight via the configured IP and port; the UI displays Redis memory usage, connection statistics, key browsing, editing, and built‑in memory analysis tools.

RedisInsight dashboard showing metrics
RedisInsight dashboard showing metrics
Memory analysis view in RedisInsight
Memory analysis view in RedisInsight
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.

monitoringKubernetesredisInstallationRedisInsightMemory analysisDatabase GUI
Java Backend Technology
Written by

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!

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.