We use a kubernetes cluster with installed HAProxy Ingresses. We want to expose RabbitMQ outside of the kubernetes cluster. How is this possible?
Requirement: This is a shared k8s cluster based on OpenShift, where the only way to expose services is using the ingresses.
I can't imagine that we are the first who needs to connect to RabbitMQ hosted in Kubernetes?!?
The client needs to be .net based
Just define aService
of typeNodePort
for every compoment you want to expose outside the cluster
By defaul you'll have to "map" the port from your component to a port in the range 32000-32767, and you'll be able to access your components with those ports
Basically, a NoperPort service will make each node of your cluster listen on the port from the service and route the traffic to the right pods on the right port. There is no protocol restrictions as for Ingress/Routes
UPDATED
This does not answer the problem at all as the requirement as "the only way to expose services is using the ingresses."