tall-fountain-87900
11/02/2025, 2:26 PMtall-airline-16756
11/02/2025, 2:26 PMtall-airline-16756
11/02/2025, 2:27 PMtall-fountain-87900
11/02/2025, 2:31 PMtall-airline-16756
11/02/2025, 2:32 PMtall-fountain-87900
11/03/2025, 5:33 AMtall-airline-16756
11/03/2025, 5:35 AMmax_memory parameter in your egress service can help set a memory usage cap, which prevents any unexpected spikes.
1. Memory Limits/Autoscaling:
◦ Enabling autoscaling is a great way to dynamically manage resource usage. Here’s an example configuration:
◦ Additionally, setting explicit memory limits in your deployment can provide more control. For example:
1. Logging Verbosity:
◦ To reduce memory usage from logging, consider lowering the log level to warn or error instead of info. Here’s how you can do that:
◦ Using log sampling can also help reduce the volume of logs generated, which is another helpful step.
I hope these suggestions make managing memory a bit easier for you! If you’d like, I’m here to help walk you through implementing any of these changes or answer any questions you might have.tall-fountain-87900
11/03/2025, 5:41 AMtall-airline-16756
11/03/2025, 5:42 AMlk CLI is great for real-time metrics and logs. For instance, running lk agent list shows you current CPU and memory usage, replica counts, and the status of your deployments.
If you'd like, I’m here to help you navigate the dashboard or guide you through using the CLI commands—just let me know!
Sources: Deploy and scale agents on LiveKit Cloud | server-sample.yaml | CLI Tools & Token Management | livekit/livekit_composite | DeepWiki | Deploying to production | LiveKit Docstall-fountain-87900
11/03/2025, 5:43 AMtall-airline-16756
11/03/2025, 5:45 AMlk CLI:
◦ Authenticate: Simply run lk cloud auth to log in and connect your project to the CLI.
◦ Set Default Project: Use lk project set-default "<project-name>" to make your commands easier to manage.
◦ Stream Logs: You can check runtime logs for memory-related insights by running lk agent logs --id <agent-id> --log-type deploy.
Just a quick note: the CLI doesn’t show memory metrics directly, so for real-time memory monitoring, the LiveKit Cloud dashboard is your best friend.
If you have any questions or need a hand navigating the dashboard or using the CLI commands, please don't hesitate to reach out—I’m here to help!
Sources: README.md | Deploying to production | LiveKit Docs | CLI Tools & Token Management | livekit/livekit_composite | DeepWiki | Log collection | LiveKit Docs