Template limits
Is there anyway to set limit for a user or a template for using ram, memory , etc?
Solution:Jump to solution
you can only set memory limits and limit containers to specific cpu cores with docker, if you need more precise limits you'll need to move to another runtime e.g kubernetes
see https://discord.com/channels/747933592273027093/1336645061030449163...
7 Replies
<#1356755207362580550>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
?
This depends on the template. For docker, k8s, and many cloud VMs you can set cpu and memory limits
which runtime are you using? Docker?
yes
Solution
you can only set memory limits and limit containers to specific cpu cores with docker, if you need more precise limits you'll need to move to another runtime e.g kubernetes
see https://discord.com/channels/747933592273027093/1336645061030449163
@Phorcys closed the thread.