Broker
Broker is a custom Kubernetes controller that provides data streaming across independent components of Meshery, whether those components are running inside or outside of the Kubernetes cluster.
Broker FAQs
How many Brokers can run?
It is recommended to run one Broker instance for each Kubernetes cluster. However, the instance itself can be scaled up based on the incoming data volume in each cluster. The scaling is independent of the number of instances running.
What does an HA configuration look like?
We leverage Kubernetes functionality for high availability. This means the Broker instance gets instantiated/restarted on its own when an issue occurs. In part, Meshery Operator is also responsible for keeping the Broker functional.
What stateful characteristics does the Broker have?
All the messages that are published to the Broker are persisted in-memory within the Broker instance until they are consumed. Persistent volume/disk space is not currently being used by the Broker.
How do I know if the Broker is working? How do I troubleshoot the Broker?
To check if your Broker instance is running smoothly (itβs deployed as a Kubernetes StatefulSet), follow these quick checks:
- Confirm that the Broker pods are running.
- Verify your cluster supports
LoadBalancerorNodePortservice types. - Make sure the Meshery Server can reach the Broker service.
Still seeing issues? The Meshery Troubleshooting Guide covers common problems with the Broker, MeshSync, and Operator β and offers clear steps to resolve them.