bulky-machine-37433
11/21/2025, 10:20 AMtall-airline-16756
11/21/2025, 10:20 AMtall-airline-16756
11/21/2025, 10:20 AMhealth_port in the YAML; the health endpoint is available at / and an availability check at /availability (returns 200 only if load is low enough to accept new requests).
• LiveKit Agents run a health server by default at http://0.0.0.0:8081/.
• These endpoints are suitable for Docker/Kubernetes liveness and readiness probes.
Would you like example probe configs for Docker or Kubernetes?
Sources: Self-hosting the Egress Service | LiveKit docs | Self-hosting the Ingress Service | LiveKit docs | Deploying to custom environments | LiveKit Docsbulky-machine-37433
11/21/2025, 10:21 AMtall-airline-16756
11/21/2025, 10:22 AM/ or /availability.
• You can monitor the server by enabling the Prometheus metrics endpoint (prometheus_port) and using /metrics as a basic liveness indicator.
• You can also treat successful connections to the server's API/WebSocket port (default 7880) as a sign the server is healthy and responsive.
Would you like example Kubernetes liveness/readiness probe configs using the /metrics endpoint or a port-check?
Sources: Deploying LiveKit | LiveKit docs | Ports and firewall | LiveKit docs | Self-hosting the Egress Service | LiveKit docs | Self-hosting the Ingress Service | LiveKit docsbulky-machine-37433
11/21/2025, 10:32 AMcurl 10.0.4.253:7880 and received an OK, would this be enough?tall-airline-16756
11/21/2025, 10:32 AMcurl 10.0.4.253:7880 shows basic connectivity and that the server process is responding, so it's a useful quick liveness check — but it's limited.
What that check gives you:
• Confirms the TCP port and HTTP handler are up and responding.
• Good for a simple liveness probe.
What it doesn't guarantee:
• That the server can accept new rooms/sessions or has sufficient capacity.
• That internal subsystems (redis, storage, SFU internals, egress workers, etc.) are healthy.
• That metrics or higher-level features are functioning.
Recommended production checks:
• Use the /metrics Prometheus endpoint (enable prometheus_port) and alert on key metrics (connection errors, CPU/memory, available_capacity or similar metrics).
• Combine: a Kubernetes liveness probe that checks the main port plus a readiness probe hitting /metrics or a metric-based readiness rule.
• Optionally add an active WebSocket connection test to ensure API/WebSocket signalling works end-to-end.
Would you like example Kubernetes probe configs for (a) simple port check, or (b) /metrics-based readiness?