Current port mapping from Kubernetes service to localhosts for RabbitMQ debugging does not work (RabbitMQ has a nice UI that allows inspecting queues and messages). The reason is that reana-message-broker uses ClusterIP service instead of NodePort, which does not allow access from outside of the cluster (reana-mail uses NodePort and works fine). I can think of two ways of fixing it - either delete broken code from cluster.py and use kubectl port-forward, or add additional debug NodePort service to Helm chart (we already have debug.enabled flag). This PR implements the latter, as it simplifies running REANA cluster in debugging mode.
Also adding debug service for PostgreSQL which would allow connecting to it via PostgreSQL client on host machine.
Current port mapping from Kubernetes service to localhosts for RabbitMQ debugging does not work (RabbitMQ has a nice UI that allows inspecting queues and messages). The reason is that
reana-message-broker
usesClusterIP
service instead ofNodePort
, which does not allow access from outside of the cluster (reana-mail
uses NodePort and works fine). I can think of two ways of fixing it - either delete broken code fromcluster.py
and usekubectl port-forward
, or add additional debugNodePort
service to Helm chart (we already havedebug.enabled
flag). This PR implements the latter, as it simplifies running REANA cluster in debugging mode.Also adding debug service for PostgreSQL which would allow connecting to it via PostgreSQL client on host machine.
Kubernetes services before:
Kubernetes services after: