how to access microk8s services?

4/5/2020

I have installed microk8s and deployed rabbitmq-ha.

I have successfully connected to the cluster js code:

const conn = await amqp.connect('amqp://guest:G5k5QKSCXjJyTnqsm2gTXFmg@10.152.183.99:5672/')
const ch = await conn.createChannel()

await ch.assertQueue(QUEUE)

And when I connected to the pod and container I could see the created queue (rabbitmqctl cli).

The problem is with the ui dashboard.
I am browsing to http://10.152.183.99:15672/, the rabbitmq management,
but I see the requests failing with body 404 Not Found get / Error: 404 Not Found get /.

I don't quite understand the problem, but I guess it is something with the microk8s network.
How can I fix it?

-- itaied
kubernetes
microk8s
rabbitmq

0 Answers