#安装telnet
yum install telnet -y
#连接VIP
[root@k8s-node01 ~]# telnet 192.168.10.222 12000
Trying 192.168.10.222...
Connected to 192.168.10.222.
Escape character is '^]'.
set u1 0 0 5
12345
STORED
get u1
VALUE u1 0 5
12345
END
quit
#连接M节点
Connection closed by foreign host.
[root@k8s-node01 ~]# telnet 192.168.10.252 12000
Trying 192.168.10.252...
telnet: connect to address 192.168.10.252: Connection refused
[root@k8s-node01 ~]# telnet 192.168.10.252 11211
Trying 192.168.10.252...
Connected to 192.168.10.252.
Escape character is '^]'.
get u1
VALUE u1 0 5
12345
END
quit
Connection closed by foreign host.
#连接S节点
[root@k8s-node01 ~]# telnet 192.168.10.253 11211
Trying 192.168.10.253...
Connected to 192.168.10.253.
Escape character is '^]'.
get u1
VALUE u1 0 5
12345
END