标签:plugin art status creat ber yam dock let bit
kubectl delete pod rabbitmq-node1 rabbitmq-node2 rabbitmq-node3
kubectl create -f pod-rabbitmq-node1-vm17.yaml
kubectl create -f pod-rabbitmq-node2-vm18.yaml
kubectl create -f pod-rabbitmq-node3-vm19.yaml
kubectl exec -ti rabbitmq-node2
kubectl exec rabbitmq-node1 rabbitmq-plugins enable rabbitmq_management
kubectl exec rabbitmq-node2 rabbitmq-plugins enable rabbitmq_management
kubectl exec rabbitmq-node3 rabbitmq-plugins enable rabbitmq_management
kubectl exec rabbitmq-node2 rabbitmqctl stop_app
kubectl exec rabbitmq-node2 rabbitmqctl join_cluster rabbit@vm17
kubectl exec rabbitmq-node2 rabbitmqctl start_app
kubectl exec rabbitmq-node3 rabbitmqctl stop_app
kubectl exec rabbitmq-node3 rabbitmqctl join_cluster rabbit@vm17
kubectl exec rabbitmq-node3 rabbitmqctl start_app
kubectl exec rabbitmq-node3 rabbitmqctl cluster_status
kubernetes docker 搭建rabbitmq集群
标签:plugin art status creat ber yam dock let bit
原文地址:http://www.cnblogs.com/aibug/p/7237985.html