Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSS Redis Cluster: getInstance error: cannot decode redis array into string #323

Open
tanvp112 opened this issue Apr 9, 2024 · 1 comment

Comments

@tanvp112
Copy link

tanvp112 commented Apr 9, 2024

I started a OSS Redis Cluster (v7.2.4) using Bitnami redis-cluster helm chart, and have kube-prometheus-stack deployed.

I get the getInstance error: cannot decode redis array into string when I am tried to connect to OSS Redis Cluster using the service endpoint (including the headless service). I can connect using Standalone but I suspect doing so the OPS report only one of the master node metrics.

I have also tried using redis pod IP:6379 and separate by comma like the blog shown, but gotten the same error: https://volkovlabs.medium.com/how-i-tested-the-redis-cluster-in-redis-data-source-for-grafana-f12d67038ec1

Related issue: #271

What is the URL to set in order to connect to a OSS Redis cluster (eg. 3 master with 1 replica each)? Can we not use the K8s headless service to report all the available pod IP to the data source?

@tanvp112 tanvp112 changed the title getInstance error: cannot decode redis array into string OSS Redis Cluster: getInstance error: cannot decode redis array into string Apr 9, 2024
@dev-shpark
Copy link

I have the same issue in version 7.2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants