Похожие чаты

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 ответов

21 просмотр

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 😅

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
any reference of this implementation?
BitBuddha
29
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
11
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
11
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта