-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
driver: set cpuset when using cgroups v2
This PR makes it so that the Podman driver will now respect the task config resources.cores value. When set, the task will be assigned the specified number of CPU cores to be allowed to run on. Note: unlike the docker/exec drivers, podman tasks will not be also allowed to make use of the "shared" set of cpu cores (ones that have not yet been reserved specifically for a task). Most likely that feature will be removed in the near future (~Nomad 1.7) anyway.
- Loading branch information
Showing
3 changed files
with
30 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
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