6.2 Redis集群使用和扩容
[root@k8s-master01 redis-cluster-operator]# kubectl get svc -n redis-cluster
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
example-distributedrediscluster ClusterIP 10.106.22.186 <none> 6379/TCP,16379/TCP 9m47s
example-distributedrediscluster-0 ClusterIP None <none> 6379/TCP,16379/TCP 9m47s
example-distributedrediscluster-1 ClusterIP None