Creating REDIS cluster on OpenShift

10/5/2017

I'm using this image and have created two REDIS deployments on OpenShift. Deployment names are redis-node01 and redis-node02. I have also created minimal REDIS cluster configuration file, as described here. It looks like this, and its loaded at REDIS startup:

port 7000
cluster-enabled yes
cluster-config-file nodes.conf
cluster-node-timeout 5000
appendonly yes

Now I open the terminal of one of the REDIS containers, and issue cluster meet command, as described here. I get this error:

(error) ERR Invalid node address specified: redis-node02:6379

I suppose that REDIS cant contact another instance on that address? How to solve this issue?

-- dplesa
docker
kubernetes
openshift
redhat
redis

0 Answers