| Summary: | [dev-preview-int] Cannot set memory/cpu request on DC | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Josef Karasek <jkarasek> |
| Component: | Deployments | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED NOTABUG | QA Contact: | zhou ying <yinzhou> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.x | CC: | aos-bugs, xxia |
| 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-09-08 11:13:02 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: | |
Seems not an issue in Online because it has ClusterResourceOverrideConfig. See https://bugzilla.redhat.com/show_bug.cgi?id=1330238#c8 result. But if customer easily meets the confusion like you, could request improvement about Doc/usage prompt about this Override, somewhere like in related page on web console. Got it. Not a bug. Thanks for clarifying! |
Description of problem: Memory(512Mi)/cpu("1") requested values specified in dc.spec.template.containers.resources.requests are ignored even though they fit in the limit range 'resource-limits'. Version-Release number of selected component (if applicable): $ oc version oc v1.3.0-rc1 kubernetes v1.3.0+52492b4 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://api.preview.openshift.com:443 kubernetes v1.2.0-36-g4a3f9c5 How reproducible: Steps to Reproduce: 1. create deployment config with following resource request: resources: limits: cpu: 1 memory: 512Mi requests: cpu: 1 memory: 512Mi 2. oc deploy <name> --latest Actual results: oc describe pod <name> ... Limits: cpu: 1 memory: 512Mi Requests: cpu: 60m memory: 307Mi ... Expected results: Limits: cpu: 1 memory: 512Mi Requests: cpu: 1 memory: 512Mi Additional info: