We are trying to run an instance of the RabbitMQ chart with Helm from the helm/charts/stable/rabbit project. I had it running perfect but then I had to restart k8s for some maintenance. Now we are completely unable to launch the RabbitMQ chart in any way shape or form. I am not even trying to run the chart with any variables, i.e. just the default values.
Here is all I am doing:
helm install stable/rabbitmq
I have confirmed I can simply run the default right on my local k8s which I'm running with Docker for Desktop. When we run the rabbit chart on our shared k8s the exact same way as on desktop and what we did before the restart, the following error is thrown:
Failed to get nodes from k8s - 503
I have also posted an issue on the Helm charts repo as well. Click here to see the issue on Github.
We are suspecting the DNS but are unable to confirm anything yet. What is very frustrating is after the restart every single other chart we installed restarted perfectly except Rabbit which now will not start at all.
Anyone know what I could do to get Rabbits peer discovery to work? Anyone seen issue like this after restarting k8s?
Failed to get nodes from k8s - 503
It has to do with the rabbit plugin calledpeer_discovery_k8s
. I'm pretty sure something went wrong withkube-dns
and the peer discovery plugin can't request anything from thekube-api-server
. I don't know what to do about it though. – mr havennslookup
or something to see ifkubernetes.default.svc
is resolving correctly within the cluster? that's the default DNS lookup that rabbit uses IIRC – switchboard.op