steep-shampoo-86436
12/13/2025, 2:10 PMtall-airline-16756
12/13/2025, 2:10 PMtall-airline-16756
12/13/2025, 2:10 PMsteep-shampoo-86436
12/13/2025, 2:12 PMtall-airline-16756
12/13/2025, 2:12 PMsteep-shampoo-86436
12/13/2025, 2:13 PMtall-airline-16756
12/13/2025, 2:14 PMsteep-shampoo-86436
12/13/2025, 2:16 PMtall-airline-16756
12/13/2025, 2:16 PM--cap-add=SYS_ADMIN or a custom seccomp profile.
Storage & egress
• Egress pods do not need local persistent storage for long-term retention; output must be uploaded to external storage (S3/GCS/Azure Blob).
• Plan network egress bandwidth to match encoded output bitrate × concurrent recordings. For example, a single 720p composite at ~1.5–3 Mbps means ~1.5–3 Mbps × concurrent jobs. Scale network accordingly and ensure low-loss uplink to object storage or streaming targets (RTMP/HLS).
Scaling & availability
• Scale horizontally: run one Egress pod per concurrent composite recording. For N concurrent composites, run N replicas or use autoscaling.
• Use Prometheus metric livekit_egress_available for autoscaling decisions; keep headroom (e.g., ~30% available) to avoid queuing.
• Enable pod draining/rolling updates so in-progress composites finish or are migrated gracefully.
Practical recommendations
• Start with 4 CPU / 4 GB pods and size for one job per pod; increase to 6+ CPU if you need higher-res (1080p+) or complex layouts.
• Test with sample layouts and target codecs to measure actual CPU, memory, and egress bandwidth before finalizing replica counts.
• Configure uploads directly to S3/GCS/Azure to avoid holding large files on the pod.
If you tell me expected concurrent composite recordings, target resolution/bitrate, and whether you’ll write to S3 or stream via RTMP/HLS, I can give a concrete pod count, bandwidth estimate, and an example Kubernetes deployment snippet. Would you like that?
Sources: Self-hosting the Egress Service | LiveKit docs | Universal Egress | Universal Egress | Quotas and limits | LiveKit docs