cookbook 'control_groups', '= 0.2.0'
control_groups
(18) Versions
0.2.0
-
Follow5
Provides and configures cgroups
cookbook 'control_groups', '= 0.2.0', :supermarket
knife supermarket install control_groups
knife supermarket download control_groups
Control Groups
Manage control groups (cgroups) via chef!
Maintainers
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
Example usage
control_groups_entry 'lackresources' do memory('memory.limit_in_bytes' => '1M') cpu('cpu.shares' => 1) end control_groups_rule 'someuser' do controllers [:cpu, :memory] destination 'lackresources' end
This will restrict all processes created by someuser
into the lackresources
control group.
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Changelog
v0.1.6 (2020-01-26)
- Convert from LWRPs to custom resources
- Properly set name properties in the resources
- Refactored hashes literals to Ruby 1.9+ format
- Removed allowed actions from resources at this is no longer necessary in Chef 12.5+
- Updated notification syntax to the modern notifies syntax
- Remove zlinux from the list of supported platforms
- Add platform support logic for Amazon Linux and Fedora
- Expand testing in the Kitchen configs to current platform releases
- Migrated to Github actions for testing
v0.1.6
- Add packages for rhel family
- Fix typo in readme (thanks @jgoldschrafe)
- Move recipe inclusion to action in provider and use run_context instead of node directly (thanks @jgoldschrafe)
v0.1.4
- Update service resource usage
v0.1.2
- Use ephemeral store to build configuration
- Remove default uid and gid values for cgconfig groups
v0.0.1
- Initial release
Collaborator Number Metric
0.2.0 passed this metric
Contributing File Metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.0 passed this metric
0.2.0 passed this metric
0.2.0 passed this metric