Hello
Im using docker image 19.0.1-apache and the cluster sit on top of kubernetes
Redis version: 6.0.6
when I setup redis master-slave, everything is working as intended
But when I try to setup redis cluster master-master, Im getting this error:
{
"Exception": "RedisClusterException",
"Message": "Couldn't map cluster keyspace using any provided seed",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/lib/private/RedisFactory.php",
"line": 65,
"function": "__construct",
"class": "RedisCluster",
"type": "->",
"args": [
null,
[
"redis-cluster-0.redis-cluster-headless.nextcloud.svc.cluster.local:6379",
"redis-cluster-1.redis-cluster-headless.nextcloud.svc.cluster.local:6379",
"redis-cluster-2.redis-cluster-headless.nextcloud.svc.cluster.local:6379"
],
0,
0
]
}
]
}
This is the config.php part of redis:
'redis.cluster' => [
'seeds' => [
'redis-cluster-0.redis-cluster-headless.nextcloud.svc.cluster.local:6379',
'redis-cluster-1.redis-cluster-headless.nextcloud.svc.cluster.local:6379',
'redis-cluster-2.redis-cluster-headless.nextcloud.svc.cluster.local:6379',
],
'timeout' => 0.0,
'read_timeout' => 0.0,
'failover_mode' => \RedisCluster::FAILOVER_ERROR,
'password' => '',
],
What have I missed ? =X