Use producers and consumers to deliver messages to RabbitMQ from within or outside the cluster, or through a client.
RabbitMQ instances support multiple access addresses to meet the needs of different scenarios.
Access within the cluster is only available for internal access within the Kubernetes network. There are two options for connection addresses:
Both methods allow access to the RabbitMQ cluster.
Address retrieval path: Instance Details > Access Methods > Access Within the Cluster
Access outside the cluster can be used for external access to the Kubernetes network, such as accessing from another Kubernetes cluster (it can also be used for internal access within the Kubernetes cluster, but this needs to be confirmed against the firewall rules).
Currently, NodePort and LoadBalancer are the two supported methods for external access to the cluster.
Address retrieval path: Instance Details > Access Methods > Access Outside the Cluster
For guidance on how to connect to RabbitMQ instances to publish and consume messages, please refer to Client Access.
For information regarding accessing and using the RabbitMQ management portal, please refer to Using RabbitMQ Console.