-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable compatibility with Nomad in cgroups.v2 mode (#133)
This PR updates the containerd driver to support changes in how Nomad manages cgroups when running on a machine using cgroups.v2 - The namespace is now set to "nomad.slice", which containerd uses as the cgroup parent. - The container name is re-oriented to the new naming convention, i.e. "<allocID>.<taskName>.scope". This is necessary for Nomad to be able to manage the cpuset resource.
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters