一、通过helm创建RabbitMQ集群:失败
### --- 编写RabbitMQ集群的helm:准备环境阶段
~~~ 新建一个charts
[root@k8s-master01 helm]# helm create rabbitmq-cluster
Creating rabbitmq-cluster
### --- 会在当前目录下生成一个rabbitmq-cluster目录
[root@k8s-master01 helm]# ll | grep rabbitmq-cluster
drwxr-xr-x 4 root root 93 May 22 16:11 rabbitmq-cluster
### --- 进去templates目录,删除不需要的文件,保留需要的文件
[root@k8s-master01 helm]# cd rabbitmq-cluster/templates/
[root@k8s-master01 templates]# ls
deployment.yaml _helpers.tpl hpa.yaml ingress.yaml NOTES.txt serviceaccount.yaml service.yaml tests
[root@k8s-master01 templates]# rm -rf deployment.yaml hpa.yaml ingress.yaml serviceaccount.yaml service.yaml tests/
[root@k8s-master01 t