-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explore: Fixes to run garden with cgroups v2
- NOTE: This isn't everything! Just enough to run `gnd` on a really modified diego-cell instance. There are still failing tests in these packages: gqt ./gqt gqt_cleanup ./gqt_cleanup gqt_setup ./gqt_setup nerd ./rundmc/runcontainerd/nerd throttle ./throttle - In general, it seems like cgroups v2 does not require us to mount the cgroup or subelements (like `devices` `blkio`) in order to actually use the cgroup - We also needed to apply a patch from a PR to the lastest runC source code in order to avoid the failure on `runc exec` - Looks like it tried to read cgroups.procs but those don't always exist when runc is running in a threaded-mode. - See this PR for more context: - opencontainers/runc#4168 [#187184163](https://www.pivotaltracker.com/story/show/187184163) Signed-off-by: Maria Shaldybin <maria.shaldybin@broadcom.com>
- Loading branch information
Showing
5 changed files
with
27 additions
and
21 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
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
12 changes: 9 additions & 3 deletions
12
vendor/github.com/opencontainers/runc/libcontainer/cgroups/utils.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.