Jitsi Videobridge health checks for load balancers: what the endpoint tells you
A team running several Jitsi Videobridge instances behind a load balancer or in Kubernetes needs a way to take an unhealthy bridge out of rotation before users notice. The built-in answer is the /about/health endpoint on each videobridge, which a load balancer or orchestrator can poll to decide whether that bridge should keep receiving traffic. A Jitsi Meet deployment has four main parts: a web server (nginx or Apache) that serves the web app, the Prosody XMPP server, Jicofo (the conference focus) and one or more Jitsi Videobridge media routers, as laid out in the Debian and Ubuntu quick start. The videobridge carries the audio and video, so it is the component that most needs its own health signal.
Scaling by adding bridges is the default design. The scalable setup guide says videobridges scale horizontally by adding more, and notes that the default install is already configured for horizontal scaling. Growth therefore means more bridges, and health checking becomes a routing decision: the balancer must know which bridges can accept media now, and new conferences must not land on a bridge that is failing or being drained. Confirm for your Jitsi version how bridges register with Jicofo, and whether a failed health check removes a bridge from the load balancer pool, from new conference allocation, or from both. Those layers can disagree, so test them together.
This section does not claim a list of what /about/health tests internally. Confirm that on your build by calling the endpoint directly on a bridge in a test environment, degrading one dependency at a time, and recording the HTTP status returned in each case. Treat a passing result as a liveness signal only. Pair it with metrics from the private /metrics endpoint, covered in the Prometheus topic, so you can see load and media quality alongside the health result. Set probe intervals, timeouts and failure thresholds from what your tests show, and document the values so the on-call team knows why a bridge was removed.
Load balancer checks versus Kubernetes probes
On a fleet of Videobridge hosts behind a load balancer, the balancer requests the health path on each bridge and removes hosts that fail. Point the check at /about/health on the port your bridge exposes for it, and confirm the exact port and response in your own environment. A health signal is only useful if the team also watches metrics on the same hosts, so treat the balancer check as one input among several.
- Check path and port: Point the monitor at
/about/healthand confirm which port serves it in your deployed version. A plain TCP check can pass while the bridge cannot route media. - Interval and thresholds: Set the probe interval and the number of consecutive failures before removal in your balancer's own settings. Choose values that tolerate a brief stall without pulling a busy bridge during a normal load peak.
- Drain before removal: Mark the bridge as draining so the balancer stops placing new conferences on it, then leave it in service until active conferences end. Confirm how your balancer's connection draining treats long-lived sessions.
- Maintenance sequence: Drain the bridge, wait for conferences to finish or for a window agreed with users, upgrade, then re-enable it and let the check pass before it receives traffic again.
- Failure during a conference: A hard failure stops new placement, but media on existing conferences may already be lost. Confirm that participants can rejoin and that Jicofo places them on another bridge.
Before relying on the procedure, run a test drain and confirm that the health result, the drain state and the conference count from your metrics all agree.
In Kubernetes, the kubelet runs liveness and readiness probes against each container. A failed liveness probe restarts the container. A failed readiness probe removes the pod from Service endpoints without restarting it. Probes are configured per container, and the Jitsi Docker setup runs jvb in its own container, so the bridge probe belongs on the jvb workload, separate from the web and prosody containers.
- Liveness restarts the pod: A failing liveness probe kills the container, which ends every conference hosted on that bridge. Use liveness only for a state where a restart is the only remedy, such as a hung process, and make the threshold lenient.
- Readiness is the usual mapping: A failed readiness probe only stops new traffic from reaching the pod. Existing conferences can continue if their media path still works, which generally suits a media router better.
- Probe scope: Probes on the web or prosody containers do not reflect bridge state, so wire the bridge check into the jvb workload specifically.
- Voluntary disruption: Use a PodDisruptionBudget and a controlled rollout strategy so planned disruptions cannot take too many bridges down at once. Confirm how your cluster's eviction and drain behavior applies to long conferences.
- Timing values: Set initial delay, period, timeout and failure threshold from observed behavior in your own cluster, and document the reasoning for each value so reviewers can trace it.
Test a readiness failure in a staging cluster and confirm that existing conferences survive while new joins are placed on healthy bridges.
The official Docker setup runs web, prosody, jicofo, jvb, jigasi and jibri as separate containers. On a single Docker host, the load balancer and orchestrator questions become questions about the host's own monitoring and restart behavior. The health path belongs to the jvb container, so any external check must target the port that container publishes, not the port of another service.
- Container-scoped checks: Point monitors at the jvb container's published port and confirm the mapping in your compose file. A healthy web container says nothing about bridge health.
- Restart behavior: Docker restart policies act on container exit. A failed HTTP check triggers a restart only if you configure a container health check and a separate action, so decide in advance whether an automatic restart is acceptable while conferences are running.
- Container health status: A container health check can mark jvb as unhealthy, which your monitoring can read. Treat that status as a signal for operators, separate from any load balancer decision.
- Rootless and read-only filesystems: Since stable-11146 the containers run rootless with read-only filesystems. Confirm that your health tooling works in that setup and does not need write access inside the container.
- Multiple hosts: If you run more than one Docker host behind a balancer, apply the drain procedure from the VM tab so that maintenance does not end active conferences.
Confirm which container a probe reaches by calling the endpoint from the host itself and from a machine outside it.
Health check configuration options and when each fits
This table compares the main choices for wiring a Videobridge health endpoint into a load balancer or orchestrator, from the probe path and interval to whether unhealthy bridges drain or are cut off. Read each row against your own load test results, since the right thresholds depend on your traffic and hardware. The main takeaway is that a health endpoint answers whether the bridge is alive and working, while a metrics signal answers whether it has room for new conferences.
| Option | When it fits | Trade-off |
|---|---|---|
| HTTP check on /about/health with expected success response | Simple load balancer pools where you only need to know whether the bridge process responds and its internal tests pass | Passes until the internal tests fail, so it says little about load or media quality on a busy bridge |
| Liveness probe on the same endpoint in Kubernetes | Restarting a bridge pod that has stopped responding or whose internal tests keep failing | A restart drops every conference on that bridge, so thresholds must be generous enough to avoid restarts during brief spikes |
| Readiness probe on the same endpoint in Kubernetes | Removing a bridge from Service endpoints while it is unhealthy, without restarting it | Readiness can flap during load if the endpoint is slow, so check responsiveness under peak conditions before tightening timing |
| Short check interval with low failure threshold | Environments where a failing bridge must leave rotation quickly and checks are cheap | More false positives under transient load, and more probe traffic against every bridge |
| Longer check interval with higher failure threshold | Busy bridges where brief slowdowns are normal and removing a bridge would move load onto the rest | Slower detection, so a truly broken bridge may take longer to stop receiving new conferences |
| Drain on unhealthy (stop new conferences, keep existing ones) | Planned maintenance and mild degradation where active meetings should finish | Existing conferences on a degraded bridge may keep poor media quality until they end |
| Immediate cut-off of unhealthy bridges | Hard failures where new traffic would fail anyway and the bridge should be removed at once | Any conference hosted on the bridge is interrupted, so confirm the cut-off trigger carefully |
| Metrics-based signal gating routing (for example, participant or load metrics from /metrics) | Deciding whether a healthy bridge has capacity for another conference before routing to it | Needs a metrics pipeline and an alerting or routing layer; metric names and thresholds must be confirmed against your version |
Wiring /about/health into a load balancer or Kubernetes probe
This sequence takes a Jitsi Videobridge from a health endpoint that works on the host to a load balancer or Kubernetes probe that removes failing bridges from rotation without disturbing conferences already in progress. Each step ends with a check you can record.
Confirm the health path answers on the internal network
Start from the machine that will run the check, either the load balancer's address or a node in the Kubernetes cluster that runs the kubelet. Request the videobridge health path on its bridge address and port, using the same protocol and host header the probe will send. Confirm that the response is a success status and that it returns within the time you plan to set for the probe. Repeat the request against each videobridge in the pool, not just one, so that a single misconfigured host does not slip through. The step is complete when every bridge returns the same healthy status from the network segment where the probe actually runs. If a request fails from the load balancer but works from the bridge itself, check firewall rules and the bind address before changing any probe settings.
Confirm the endpoint is not exposed publicly
Test the same health path from outside your network, using a host that has no route to the internal segment. The health path should not be reachable from the public internet through your edge proxy or public address. Review the reverse proxy configuration on the web tier and any ingress rules, because a catch-all location block can expose internal paths by accident. Keep the metrics endpoint in the same review, since both are meant for internal operators and monitoring systems. The step is complete when the external request is refused or returns an error from the edge, and the internal request still succeeds. Record the rule that blocks external access so that a later configuration change can be checked against it.
Add the probe with agreed thresholds
Add the health check to the load balancer or to the Kubernetes deployment as a readiness or liveness probe, depending on your design. Agree the interval, timeout, and the number of consecutive failures before a bridge is marked unhealthy with your platform team and the people who own the conferencing service. Use separate settings for removing a bridge from new allocation and for restarting a process, because a restart interrupts every meeting on that bridge. Confirm the exact probe options against the Jitsi handbook and your platform's documentation, since field names differ between load balancers and orchestrators. The step is complete when the probe appears in the platform's status view as passing for each healthy bridge.
Test a deliberately failed bridge to confirm draining
Choose a non-production bridge and make its health check fail in a controlled way, for example by stopping the videobridge service on a test host or blocking the health path at the host firewall. Watch the load balancer or orchestrator until the bridge is marked unhealthy. Confirm that it stops receiving new traffic or new conference allocations and that the other bridges continue to accept them. Then restore the service and confirm the bridge returns to the pool after the configured number of successful checks. The step is complete when the failed bridge leaves the pool within the thresholds you agreed and rejoins once it recovers, with no change to the other bridges.
Verify that existing conferences survive the removal
While a test conference is running on the bridge you are about to remove from rotation, observe what happens to the participants already in it. Removing a bridge from new allocation should not terminate meetings that are already active, but this depends on how your load balancer handles established connections and on the Jitsi components that route participants. Confirm the behavior with a test meeting that has at least two participants and media flowing. Note any participants who are disconnected, and record whether they can rejoin. The step is complete when you have a written result for active meetings. If established sessions drop, review your balancer's connection draining settings before you use this check in production.
Test a new conference through the balancer after removal
With one bridge removed from the pool, start a new test conference through the public address that users would use. Join from at least two separate clients, including one outside the internal network, and confirm that audio and video flow through the remaining bridges. Check that the conference is not routed to the removed bridge by reviewing the bridge logs or the conference statistics your metrics stack exposes. Repeat the test after restoring the bridge to confirm it accepts new conferences again. The step is complete when new conferences succeed with the reduced pool and the restored bridge is used again, which confirms the probe and the routing work together.
Record the settings in configuration management
Move the health path, probe interval, timeout, failure threshold, and firewall or proxy rules into the configuration management tool your team uses, such as Ansible or Puppet, which the Jitsi scalable setup guide recommends for multi-bridge deployments. Store the expected healthy response and the test results from the previous steps alongside the configuration so reviewers can see what was verified and when. Add the health check to the change process, so that a new bridge or a changed reverse proxy rule triggers the same tests. The step is complete when a fresh bridge built from your configuration passes the probe and the exposure test without manual edits.
How health checks and metrics feed routing decisions
The load balancer or Kubernetes probe calls /about/health on each videobridge, and the answer decides whether that bridge stays in the pool. A separate Prometheus scrape reads the private /metrics endpoint, and alert rules fire from that data. The operator reviews both signals, so a bridge that passes the health check but shows degraded quality still gets attention. Check that the metrics path is reachable only from inside your network, and that the health check path is the one your probe actually hits.
Health checks control pool membership, while metrics feed alerts for the operator.
Why health alone is not enough and what to pair with it
The /about/health endpoint answers one question: can this bridge run its internal tests right now. It does not tell you how loaded the bridge is, whether calls are degrading, or whether the services around it are healthy. The cards below cover the signals to pair with the probe so that load balancer decisions and alerts rest on more than a yes or no.
Load and conference counts
A healthy bridge can still be full. Track the number of conferences and participants per videobridge over time, along with CPU and memory on the host, so you know when to add capacity before the load balancer starts routing new meetings to a bridge that cannot serve them well. Ask your operators which counts the metrics endpoint exposes in your Jitsi version and confirm them on a test deployment before you rely on them for scaling decisions.
Scalable setup guideQuality signals for degraded bridges
A bridge that passes its health test can still deliver frozen video, poor audio or high packet loss under load. Watch bitrate, packet loss and jitter reported by the bridge, and compare them against what users report. Set your own baseline during normal meetings first, because acceptable quality depends on your bandwidth, typical meeting size and client mix.
Prosody and Jicofo as dependencies
The videobridge does not create conferences on its own. Jicofo allocates bridges and Prosody handles XMPP signaling, so a bridge can pass its probe while meetings fail to start. Monitor Prosody and Jicofo separately and include them in your incident runbooks, because a load balancer pointed only at bridge health will keep sending traffic during a control-plane outage.
Quick start componentsLog correlation for failed probes
When a probe fails, the first question is what the bridge logged at that moment. Record probe failures with timestamps and match them against bridge, Prosody and Jicofo logs from the same window. Keep log levels and formats consistent across containers so the entries can be joined during an incident rather than read one service at a time.
Probe timing and orchestrator settings
Kubernetes liveness and readiness probes and load balancer health checks have different jobs. A liveness failure restarts a pod, which drops every conference on that bridge, so a slow or transient failure should not trigger a restart by default. Agree the interval, timeout and failure threshold with your platform team, and test what happens when the internal tests are slow under load.
Alert thresholds from your own baseline
Alert levels should come from measurements in your environment, not from a published number. Record normal conference counts, CPU use and quality figures for several typical weeks, then set warning and critical thresholds around that baseline. Revisit them after each capacity change or client update, and route alerts to the team that can act on them.
Questions teams ask before wiring Jitsi health checks
Is a health endpoint enough for production monitoring of Jitsi Videobridge?
No. The /about/health endpoint tells a load balancer or orchestrator whether a bridge is responding and passing its internal checks, but it says little about how many conferences a bridge is carrying or how media quality looks to participants. Pair it with the private /metrics endpoint so you can see load, participant counts and quality trends, and alert on both. Use the health check to remove a bridge from rotation and the metrics to decide when to add capacity. The Jitsi handbook on scalable setup describes the scaling model you will be planning around.
How much effort does a health check setup take, and what drives it?
The effort depends on four things: the number of bridges, the type of load balancer or orchestrator in front of them, how familiar your team is with Kubernetes probes or your balancer's health monitor syntax, and how much testing you want before go-live. A two-bridge setup behind a balancer you already run is a small change. A pool of bridges across zones with liveness, readiness and alerting rules, plus failure drills, is a larger project. Ask for the effort broken down by these drivers in any quote, not as a single number.
Can our team set up Jitsi health checks alone using the handbook?
Often yes, if you already operate a Linux service fleet and a load balancer or Kubernetes cluster. The handbook covers the Jitsi side, and the health endpoint itself is simple to call. The harder parts are outside Jitsi: choosing probe timeouts that do not eject busy bridges, keeping the metrics endpoint off the public internet, and testing what happens when a bridge fails mid-conference. The scalable setup guide itself warns that building scalable infrastructure is not a task for beginning administrators and recommends configuration management tools. If your team has not run this before, plan time for a lab run first.
What does the work need from our team?
Plan for four inputs. First, access to the load balancer or Kubernetes cluster with permission to create health monitors or probes and to change their settings. Second, a lab or staging environment where test conferences can be run with several participants, so you can observe a bridge being removed and added. Third, agreed thresholds for what counts as unhealthy, such as how many failed checks trigger removal and what load level triggers an alert. Fourth, a named owner who can approve changes to firewall rules and network paths, since probes and media depend on them.
How long does it take to set up and verify Jitsi health checks?
The duration is set by the number of bridges, how many load balancer or cluster changes are needed, whether metrics and alerting are built in the same pass, and how much failure testing your change process requires. Verification usually takes longer than configuration because you need to confirm that a failing bridge is removed from traffic, that conferences in progress are handled as you expect, and that the bridge rejoins the pool after recovery. Ask any provider for a timeline tied to these steps and to the environment you give them access to.
What would an outside partner scope and quote for this work?
DeployOpen works from a written scope agreed before work starts. For health checks, that scope usually names the bridges and load balancer or cluster in scope, the probe configuration, the metrics endpoint exposure and alert rules, the failure tests to run, the documentation handed over, and any follow-on support. The quote follows from that scope, so the items that move cost are the same ones listed above. Ask for deliverables, the test plan, what you must provide, and which parts are one-time versus recurring under a retainer. DeployOpen does not publish a price list.
Should we expose the health endpoint to the public internet?
Restrict it. The health check is intended for your balancer or orchestrator, so limit access to those sources at the network or proxy layer. The same applies to /metrics, which should stay on a private network reachable only by your Prometheus or scraping system. Confirm the exact exposure settings against the current handbook for your Jitsi version and your reverse proxy configuration, because the path and access rules are part of what your security team will review.
How DeployOpen scopes and delivers Jitsi health checks
DeployOpen plans, implements, documents and supports self-hosted Jitsi inside your own cloud accounts, data centers or air-gapped networks. For Jitsi Videobridge health checks, we start from your load balancer and orchestrator setup, wire the health endpoint into it, and pair it with the metrics your team already watches.
How we scope
- Engagements are fixed-scope, with the health check targets, deliverables and timelines agreed in writing before work starts.
- The written scope names each load balancer or orchestrator probe that will call the videobridge health endpoint.
- We confirm whether the endpoint stays on a private network and which internal tests your probes must pass.
- We record which metrics, alert routes and owners pair with health checks, so a failing probe has a clear next step.
How we build
- We configure the load balancer health check and the Kubernetes liveness and readiness probes against the bridge's health endpoint.
- We set probe timeouts and failure thresholds so a briefly busy bridge is not removed from rotation by mistake.
- We restrict access to the health and metrics endpoints so they stay off the public internet.
- We test failure cases by stopping a videobridge and confirming the balancer drains traffic and the orchestrator restarts it.
How we hand over
- You receive the probe configuration, endpoint access rules and a record of each test run and its result.
- Runbooks explain what each failing health check means and which internal component to inspect first.
- Your operators are walked through the pairing of health status with Prometheus metrics and alert routing.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
- When Jitsi releases change the health endpoint or its internal tests, we review the probe settings before you upgrade.
- We can repeat the failure tests after infrastructure changes, such as new bridges, load balancer rules or network paths.

