Rabbitmq Server cluster docker images for openshift origin platform

Build rabbitmq cluster docker images for openshift origin platform.
Down load docker file tarball rabbitmq.tar, and cd rabbitmq, run

docker build -t rabbitmq . 

after build process is done, tag the images built with rabbitmq:v002

docker images

docker tag image-id rabbitmq:v002

and then deploy a rabbitmq-server cluster in openshift origin platform. we should create a serviceaccount rabbitmq, and add it with anyuid scc.

oc create serviceaccount rabbitmq
oc adm policy add-scc-to-user anyuid -z rabbitmq

deploy it

oc create -f rabbitmq.yaml

One comment

  1. Hello,

    I find your “Rabbitmq Server cluster for openshift” article very useful. I am about to try to install it.
    I was surprised to see that you are using the ‘PetSet’ construct, which is an alfa feature. I would see to convert it to plain ‘no-identity’ pods, since RedHat is not supporting it, nor StatefulSets, which is the new name.

    Thanks for your article!

Leave a Reply

Your email address will not be published. Required fields are marked *