一、下载rabbitmq集群插件
# git clone https://github.com/Idiomroot/k8s-rabbitmq.git
# wget https://github.com/rabbitmq/rabbitmq-autocluster/releases/download/0.10.0/autocluster-0.10.0.ez
# wget https://github.com/rabbitmq/rabbitmq-autocluster/releases/download/0.10.0/rabbitmq_aws-0.10.0.ez
二、构建镜像
三、生成cookie文件
四、配置rbac
五、配置service
六、创建StatefulSet
七、如果没有存储类,则直接创建PV和PVC
八、查看已经生成服务