Bug 1260384
Summary: | Resource requirement request for cpu can exceed the limit | ||
---|---|---|---|
Product: | OKD | Reporter: | Liang Xia <lxia> |
Component: | Pod | Assignee: | Derek Carr <decarr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jianwei Hou <jhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, dmcphers, mmccomas |
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: | 2015-11-23 21:15:16 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
Liang Xia
2015-09-06 10:27:51 UTC
Upstream PR opened to fix issue here: https://github.com/kubernetes/kubernetes/pull/13688 We were improperly handling precision of value. Tried the same steps with in #comment 0, got the expected errors as below: The LimitRange "limits" is invalid. * spec.limits[0].defaultRequest[cpu]: invalid value '240m', Details: default request value 240m is greater than default limit value 100m * spec.limits[1].defaultRequest[cpu]: invalid value '120m', Details: default request value 120m is greater than default limit value 100m * spec.limits[2].defaultRequest[cpu]: invalid value '120m', Details: default request value 120m is greater than default limit value 100m The fix works on version: Client Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.1.492+1c420bb33f785b-dirty", GitCommit:"1c420bb33f785b2b383f79814aa9e42dcb191f34", GitTreeState:"dirty"} Server Version: version.Info{Major:"1", Minor:"1+", GitVersion:"v1.1.0-alpha.1.492+1c420bb33f785b-dirty", GitCommit:"1c420bb33f785b2b383f79814aa9e42dcb191f34", GitTreeState:"dirty"} Move bug to verified. |