创建 Pika-cluster
1
helm install pika ./pika && helm install pika-cluster ./pika-cluster
暴露接口
1
21. kubectl port-forward svc/pika-cluster-codis-fe 8080
2. kubectl port-forward svc/pika-cluster-codis-proxy 19000Pika-Cluster 部署并实现了自动 Rebalance
扩容 2 个实例
1 | helm upgrade pika-cluster ./pika-cluster |