Bug 1376923

Summary: [DOCS] cpu and memory are defined as the same as requests.{cpu,memory}
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: DocumentationAssignee: Ashley Hardin <ahardin>
Status: CLOSED CURRENTRELEASE QA Contact: Eric Jones <erjones>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.2.1CC: aos-bugs, erjones, jokerman, mmccomas, vigoyal, wmeng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-12 15:28:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Jones 2016-09-16 20:17:00 UTC
Document URL: 
https://docs.openshift.com/enterprise/3.2/admin_guide/quota.html#managed-by-quota

Section Number and Name: 
Cluster Administration
Setting Quotas
Resources Managed by Quota

Describe the issue: 
{cpu,memory} and requests.{cpu,memory} are defined as the same thing. 

Suggestions for improvement: 
If they are the same thing, then remove one as it is redundant.
If they are not the same, then redefine the incorrect one so it is accurate.

Comment 2 Eric Jones 2016-09-22 17:47:13 UTC
After continuing the conversation in an internal mailing list, I received the final answer for engineering.

cpu is the same as request.cpu and memory is the same as requests.memory neither of which are the same as limits.cpu or limits.memory

The suggested resolution for this bug would be to add a disclaimer indicating that those two (cpu and requests.cpu OR memory and requests.memory) are the same thing and can be used inter-changeably.

Comment 5 Ashley Hardin 2016-09-29 16:01:40 UTC
Work in progress:
https://github.com/openshift/openshift-docs/pull/2968

@Eric, please review. Thanks!

Comment 6 Eric Jones 2016-09-29 19:57:07 UTC
Commented as such on the github commit, but LGTM!

Thanks

Comment 7 openshift-github-bot 2016-09-29 20:35:44 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/537cdce08dc56353d84022e6f7b5ee5bd252b911
Bug 1376923, indicated that cpu and requests.cpu are the same value; memory and requests.memory are also the same value

https://github.com/openshift/openshift-docs/commit/c4af806ab880c28c9126aeb71482a53c53ac0c3c
Merge pull request #2968 from ahardin-rh/cpu-memory

Bug 1376923,cpu and requests.cpu are the same value;memory and requests.memory are the same value