calm-finland-22444
08/18/2025, 5:55 PMrefined-appointment-81829
08/18/2025, 6:16 PMlivekit_egress_available Prometheus metric. This allows your deployment to scale up or down based on the actual load, which can be more efficient than manually managing the number of pods.
3. Testing and Monitoring: It's advisable to conduct load testing to determine how many concurrent requests a single pod can handle under your specific conditions. You can use the lk load-test command to simulate the load and monitor the CPU usage.
Here’s an example of how you might set up your autoscaling configuration in your `values.yaml`:
autoscaling:
enabled: true
minReplicas: 1
maxReplicas: 20
targetCPUUtilizationPercentage: 60
This configuration allows your deployment to scale between 1 and 20 pods based on CPU utilization, which should help you manage the load effectively without needing to run 100 pods at all times.
Summary
• You do not need 100 pods for 100 concurrent requests; the number of pods required will depend on how many requests each pod can handle.
• Consider enabling autoscaling to manage resources dynamically based on actual usage.
• Perform load testing to find the optimal configuration for your use case.
• https://github.com/livekit/cloud-egress/blob/main/README.md#L1-L37