-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Expected Behavior
Connect to redis cluster(running on minikube) on local machine
Current Behavior
connection times out when using NewClusterClient
get error https://serverfault.com/questions/812156/redis-cluster-error-moved redis cluster moved when using NewClient
Steps to Reproduce
- Installed redis cluster using helm charts
- expose using nodeport ot port forward on minikube
redisClient := redis.NewClusterClient(&redis.ClusterOptions{
Addrs: []string{"127.0.0.1:6379"},
Password: "M2eVOyDXqd",
})
result, err := redisClient.Ping(context.TODO()).Result()
if err != nil {
log.Panic(err)
}
fmt.Println("connected", result)
the above code times out, I am running this one macos bigsur
lily-lee
Metadata
Metadata
Assignees
Labels
No labels