-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit host resources via Hammer CLI #3575
base: master
Are you sure you want to change the base?
Limit host resources via Hammer CLI #3575
Conversation
The PR preview for 6196627 is available at theforeman-foreman-documentation-preview-pr-3575.surge.sh The following output files are affected by this PR: |
guides/common/modules/proc_assigning-resource-quotas-to-a-user.adoc
Outdated
Show resolved
Hide resolved
570ebdf
to
b95fd30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me overally. I just have a concern regarding the units...
--cpu-cores _My_CPU_Cores_ \ | ||
--disk-space _My_Disk_Space_in_GiB_ \ | ||
--id _My_Resource_Quota_ID_ \ | ||
--memory _My_Memory_in_MiB_ \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you absolutely sure that the unit is MebiBytes (MiB) and not MegaBytes (MB)? Those are different units. And Mi- Gi- aren't usually used. 🤷♀️
The same for the GiB above and other places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bastian-src Can you please confirm if it's MiB or MR etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs tech ACK by Nadja or Bastian.
--cpu-cores _My_CPU_Cores_ \ | ||
--disk-space _My_Disk_Space_in_GiB_ \ | ||
--id _My_Resource_Quota_ID_ \ | ||
--memory _My_Memory_in_MiB_ \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bastian-src Can you please confirm if it's MiB or MR etc?
guides/common/modules/proc_assigning-resource-quotas-to-a-user.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_assigning-resource-quotas-to-a-user-group.adoc
Outdated
Show resolved
Hide resolved
b95fd30
to
9141e4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied all suggestions by Nadja. One open question about units remains.
guides/common/modules/proc_assigning-resource-quotas-to-a-user-group.adoc
Outdated
Show resolved
Hide resolved
guides/common/modules/proc_assigning-resource-quotas-to-a-user.adoc
Outdated
Show resolved
Hide resolved
* Add command to install Hammer CLI plugin for foreman_resource_quota * Use Hammer CLI to assign resource quotes to users * Use Hammer CLI to manage resource quotas Refs PR 7 in hammer-cli-foreman-resource-quota on GitHub Refs PR 97 in foreman_resource_quota on GitHub Refs https://github.com/ATIX-AG/hammer-cli-foreman-resource-quota/
9141e4c
to
6196627
Compare
Applied suggestion by Anet; rebased to "master", tested all commands again on Foreman/Katello. Needs final tech ACK on the units. cc @bastian-src |
What changes are you introducing?
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Checklists
no cherry-picks: only foreman_resource_quota is part of 3.13; the Hammer CLI plugin is not available in nightly.