Installing RedisInsight using Helm

Author: Ajeet Singh Raina

Helm is a package manager for Kubernetes. It is the best way to find, share, and use software built for Kubernetes. It is the K8s equivalent of yum or apt. Helm helps you manage Kubernetes applications โ€” Helm Charts help you define, install, and upgrade even the most complex Kubernetes application. Helm is a graduated project in the CNCF and is maintained by the Helm community.

Benefits of Helm:#

  • Improves developer productivity
  • Makes application deployment easy, standarized and reusable
  • Enhances operational readiness
  • Reduces the complexity of deployments of microservices
  • Speeds up the adaptation of cloud native applications

It is possible to install RedisInsight using Helm chart. A full-featured desktop GUI client, RedisInsight is an essential tool for Redis developers. It is a lightweight multi-platform management visualization tool that helps you design, develop, and optimize your application capabilities in a single easy-to-use environment. RedisInsight not just makes it easier to interact with your databases and manage your data, but also helps in managing Redis Cluster with ease.

Getting Started#

Step 1. Install the Prerequisites#

Install Docker Desktop for Mac and enable Kubernetes as shown below:

alt_text

Step 2. Install Helm on your Mac system#

brew install helm

Step 3. Verify if helm is installed correctly#

helm version
version.BuildInfo{Version:"v3.6.1",
GitCommit:"61d8e8c4a6f95540c15c6a65f36a6dd0a45e7a2f", GitTreeState:"dirty",
GoVersion:"go1.16.5"}

Step 4. Download RedisInsight Helm Chart#

wget https://docs.redislabs.com/latest/pkgs/redisinsight-chart-0.1.0.tgz

Step 5. Verify if Kubernetes is up and running#

kubectl get nodes
NAME STATUS ROLES AGE VERSION
docker-desktop Ready master 22d v1.19.7

Step 6. Install RedisInsight using Helm chart#

helm install redisinsight redisinsight-chart-0.1.0.tgz --set service.type=NodePort
NAME: redisinsight
LAST DEPLOYED: Sat Jun 26 11:40:11 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
1. Get the application URL by running these commands:
export NODE_PORT=$(kubectl get --namespace default -o
jsonpath="{.spec.ports[0].nodePort}" services redisinsight-redisinsight-chart)
export NODE_IP=$(kubectl get nodes --namespace default -o
jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT

Step 7. Get the application URL#

export NODE_PORT=$(kubectl get --namespace default -o jsonpath="{.spec.ports[0].nodePort}" services redisinsight-redisinsight-chart)
export NODE_IP=$(kubectl get nodes --namespace default -o jsonpath="{.items[0].status.addresses[0].address}")

Step 8. Listing the IP address#

echo http://$NODE_IP:$NODE_PORT
http://192.168.65.4:30269

Step 9. Listing the Helm Chart#

helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
redisinsight default 1 2021-06-26 11:40:11.82793 +0530 IST deployed redisinsight-chart-0.1.0

images

Step 10. Listing the Redisinsight Pods#

kubectl get po
NAME READY STATUS RESTARTS AGE
fortune 2/2 Running 8 22d
redisinsight-redisinsight-chart-857b486d8f-w9xpv 1/1 Running 0 15m

Step 11. Accessing RedisInsight#

images images

References#