Skip to content

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

Open
@tanvp112

Description

@tanvp112

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions