RabbitMQ集群安装:
StatefulSet
https://github.com/dotbalo/k8s/tree/master/k8s-rabbitmq-cluster
Images
registry.cn-beijing.aliyuncs.com/dotbalo/rabbitmq:3.7-management
UI
github和镜像如果网络不好,可以直接下载附件,服务发现通过server的endpoint自动获取对应的runningpod,利用configmap存储配置文件,secret存储账号密码cookie,创建ServiceAccount对象绑定role角色获取对endpoint的get权限,利用sts有状态的部署集群。
配置包:https://download.csdn.net/download/weixin_39855998/21419588