4 ms·
> OS knows this is containers process and this is control plane process and treat them differently, I think no one does that cgroups on Linux does exactly this
by yuliyp 2y ago
> OS knows this is containers process and this is control plane process and treat them differently, I think no one does that
cgroups on Linux does exactly this, and are a standard part of ensuring that containers don't exceed their allocated resources.
- dotancohen 2y agoMost software running on w Linux server are not running in a container, which itself has (minimal) resource overhead. Unless you are talking about VMs in cloud computing, but even in those cases the VM is usually abstracted away and the end client only sees a VPS (e.g. with EC2 or GCE).
- yuliyp 2y agoYou don't need containers to use cgroups. For instance, systemd uses cgroups to control resource allocation to various services.
- throwaway290 2y agoOK with some configuration a server OS can do it too. Looks like ClosedAI doesn't pay sysadmins enough if they did not configure such a standard thing.
- yuliyp 2y agoI was replying to your comment where you suggested that OS-level resource reservation wasn't a thing that happened in production systems. The situation here is that a single process was being overloaded by one type of load, preventing it from doing the other things that process was responsible for. Making that work properly would require load-shedding/prioritization within the process itself.
- throwaway290 2y ago> Kubernetes API servers saturated because they were receiving too much traffic. Once that happened, the API servers no longer functioned properly. As a consequence, their DNS-based service discovery mechanism ultimately failed I am not sure where it is about "one process"?