Похожие чаты

Hi there! I have a Redis Cluster instance deployed to a

local k8s cluster, using Helm. Everything works fine setting 3 nodes and 0 replicas 'till I want to enable externalAccess: it stucks in services creation, binding no IPs. No pods are created as well.
How can I communicate to cluster using for example RedisInsight app to perform some tests?
before recreating Redis resources with externalAccess enabled, I tried to use kubectl port-forward with no success

4 ответов

14 просмотров

To communicate to a Redis cluster using RedisInsight, you need to enable external access on the cluster. This will allow RedisInsight to connect to the cluster and display the data. To enable external access on a Redis cluster, you need to edit the Redis Helm chart and set the externalAccess property to true. You also need to specify the serviceType property. The valid values for serviceType are ClusterIP, NodePort, and LoadBalancer. If you set the serviceType property to ClusterIP, the Redis cluster will be accessible only from within the Kubernetes cluster. If you set the serviceType property to NodePort, the Redis cluster will be accessible from outside the Kubernetes cluster, but only from the nodes where the Redis pods are running. If you set the serviceType property to LoadBalancer, the Redis cluster will be accessible from outside the Kubernetes cluster, and RedisInsight will be able to connect to it from anywhere. Once you have enabled external access on the Redis cluster, you can connect to it using RedisInsight. To do this, open RedisInsight and enter the host and port of the Redis cluster. The host is the IP address of the node where the Redis pod is running. The port is the port that the Redis pod is listening on. Once you have entered the host and port, click the Connect button. RedisInsight will connect to the Redis cluster and display the data. If you are unable to connect to the Redis cluster using RedisInsight, you can use kubectl port-forward to forward the port from the Redis pod to your local machine. To do this, run the following command: kubectl port-forward <redis-pod-name> <local-port>:<redis-port> For example, to forward the port from the Redis pod named redis-master to port 6379 on your local machine, you would run the following command: kubectl port-forward redis-master 6379:6379 Once you have forwarded the port, you can connect to the Redis cluster using RedisInsight. To do this, open RedisInsight and enter the host and port of your local machine. The host is localhost. The port is the port that you forwarded. Once you have entered the host and port, click the Connect button. RedisInsight will connect to the Redis cluster and display the data.

Talula
To communicate to a Redis cluster using RedisInsig...

Don't become a free ChatGPT proxy. Ask them to ask ChatGPT themselves

Sharuzzaman Ahmat Raslan
Don't become a free ChatGPT proxy. Ask them to ask...

Can't help if people aren't smart enough to ask ChatGPT

Riccardo-Gabellone Автор вопроса
Talula
To communicate to a Redis cluster using RedisInsig...

Cannot complete these steps, already tried I asked here to have a chance to text with humans, not AI 😅

Похожие вопросы

Обсуждают сегодня

Есть какой-нибудь для Delphi/FPC T*Compression(Decompression)Stream на базе LZ4/Zstd/любой другой быстрый(и хорошо сжимающий) алгоритм А ещё лучше в pure pascal А ещё лучше од...
notme
32
А чем вам питонисты не угодили?😂
.
79
Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
Язык Си можно выучить за день? По книжке ANSI C на 230 страниц
Vincent Vegan
29
Привет, запускаю werf в dind в k8s, получаю ошибку на этапе build/beforeSetup: /.werf/stapel/embedded/bin/bash: /.werf/scripts/5898bdfe5214357d3706b879cc8d3d78460fb379607cbd...
florius0
7
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
пацаны, как-нибудь можно панель задач заблюрить, что она была похожа на kde или винду 7, 11?
В
16
or do they all have 240?
Ilnur Zaripov
9
HI. Just reviewd Planck website which looks undercooked and some menu is not leading to correct section of site. Also, the vesting is shown to be for 20 months starting next y...
Neo517
4
Дорогие любители Прекрасной Джулии! Есть кто-то имеющий практический опыт построения ML для Систем Управления? Нам нужно сделать нейросеть для автоматической подстройки пара...
Roman Timo
4
Карта сайта