1 kubectl apply -f "https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml" 2 kubectl apply -f https://raw.githubusercontent.com/rabbitmq/cluster-operator/main/docs/examples/hello-world/rabbitmq.yaml 3 kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml 4 kubectl annotate storageclass local-path storageclass.kubernetes.io/is-default-class=true 5 kubectl port-forward --address 0.0.0.0 service/hello-world 8080:15672
reference: https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html
标签:kubectl,install,rabbitmq,https,operator,path,k8s,com From: https://www.cnblogs.com/qgbo/p/17757909.html