the reason
This is usually because there is no set pattern cluster startup redis-cli caused.
solution
When you start using the -c parameter to start the cluster mode command is as follows:
redis-cli -c -p 7000
test
127.0.0.1:7000> get name
-> Redirected to slot [5798] located at 127.0.0.1:7001