open-nomad/drivers/shared
Mahmood Ali a89da9982d
raw_exec: don't use cgroups when no_cgroup is set (#9328)
When raw_exec is configured with [`no_cgroups`](https://www.nomadproject.io/docs/drivers/raw_exec#no_cgroups), raw_exec shouldn't attempt to create a cgroup.

Prior to this change, we accidentally always required freezer cgroup to do stats PID tracking. We already have the proper fallback in place for metrics, so only need to ensure that we don't create a cgroup for the task.

Fixes https://github.com/hashicorp/nomad/issues/8565
2020-11-11 16:20:34 -05:00
..
eventer docker: add default blocks for driver plugin config schema 2018-11-19 22:59:18 -05:00
executor raw_exec: don't use cgroups when no_cgroup is set (#9328) 2020-11-11 16:20:34 -05:00
resolvconf tests: use system path 2020-10-01 10:23:19 -04:00