Roblox / nomad-driver-containerd

Nomad task driver for launching containers using containerd.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU cgroup quotas are not properly applied

chuckyz opened this issue · comments

Related to Issue #8 and PR #44,

CPU quotas/periods are currently not properly applied. Currently the built-in Nomad docker driver has the capability to enable hard CPU limiting via https://www.nomadproject.io/docs/drivers/docker#cpu_hard_limit

There is also special flags around period at https://www.nomadproject.io/docs/drivers/docker#cpu_cfs_period

After discussing this a bit more internally with @chuckyz , We have decided to not expose [cfs_quota and cfs_period] to the end-user for now.

These are very low-level CPU knobs and could do more harm than good to the end-user.