1、刪除一個Slave節點
./redis-cli --cluster del-node 127.0.0.1:7001 74957282ffa94c828925c4f7026baac04a67e291
返回信息:
>>> Removing node 74957282ffa94c828925c4f7026baac04a67e291 from cluster 127.0.0.1:7000
>>> Sending CLUSTER FORGET messages to the cluster...
>>> SHUTDOWN the node.
2、刪除一個Master節點
刪除master節點之前首先要使用reshard移除master的全部slot,然后再刪除當前節點(目前只能把被刪除master的slot遷移到一個節點上)
./redis-cli --cluster reshard 127.0.0.1:7002




移除完成:

#刪除空master節點
./redis-cli --cluster del-node 127.0.0.1:7002 a70d7fff6d6dde511cb7cb632a347be82dd34643


(最后僅剩7003)
參考:
https://www.liangzl.com/get-article-detail-30687.html
