Deployed the sample yaml files but doesn't work as expected. I still need to run a batch job on the cluster to manually stop, join_cluster and start for every pod. In addition, is there a way to configure vhosts, users and credentials using rabbitmq.conf file? Otherwise I have to do it in kerbernetes batch job after all the pods have booted up.
I have checked Failing K8s rabbitmq-peer-discovery-k8s clustering and k8s, RabbitMQ, and Peer Discovery. My cluster DNS works fine as it is able to resolve kubernetes
to kubernetes.default.svc.cluster.local