Bug 1278908
Summary: | describe limits missing "default" word | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Erik M Jacobs <ejacobs> |
Component: | oc | Assignee: | Derek Carr <decarr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wei Sun <wsun> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.1.0 | CC: | aos-bugs, ffranz, jialiu, jokerman, lxia, mmccomas, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-07 21:29:24 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: | |
Embargoed: |
Description
Erik M Jacobs
2015-11-06 17:40:37 UTC
Maybe something like the following: [root@ose3-master training]# oc describe limits foo-limits -n foo Name: foo-limits Namespace: foo The amount of compute resources per pod must conform to the following: Resource Min Max Burst (Limit/Request) -------- --- --- ----------------------- cpu 10m 500m 10 memory 5Mi 750Mi 10 The amount of compute resources per container must conform to the following: Resource Min Max Burst (Limit/Request) -------- --- --- ----------------------- cpu 10m 500m 10 memory 5Mi 750Mi 10 If a container does not specify a compute resource, it will default as follows: Resource Request Limit -------- ------- ----- cpu 100m 100m memory 100Mi 100Mi I am lowering priority as its not a release-blocker, but agree we can look to improve the output as an update to upstream Kube. Fix in upstream Kube here: https://github.com/kubernetes/kubernetes/pull/17255 It aligns display with what we show in the web console right now. See cherry-pick for Origin: https://github.com/openshift/origin/pull/5905 I'll check the bug after the fix is merged. The PR is still not merged yet, so move its status to "MODIFIED" The fix are there now. Checked on version, openshift v3.1.1.904 kubernetes v1.2.0-alpha.7-703-gbc4550d etcd 2.2.5 $ oc describe limits limits -n default Name: limits Namespace: default Type Resource Min Max Default Request Default Limit Max Limit/Request Ratio ---- -------- --- --- --------------- ------------- ----------------------- Pod cpu 10m 500m - - - Pod memory 5Mi 750Mi - - - Container cpu 10m 500m 100m 100m - Container memory 5Mi 750Mi 100Mi 100Mi - Once the bug moved to ON_QA, we can move it to verified. Move to verified per comment #8 |