Bug 1336359
| Summary: | [dev-preview-stg] ClusterResourceOverride is wrongly configured in master-config file | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Bing Li <bingli> |
| Component: | Website | Assignee: | Abhishek Gupta <abhgupta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yanping Zhang <yanpzhan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | aos-bugs, dakini, jokerman, mmccomas, tiwillia, wmeng, wsun |
| 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-06-23 17:31:45 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1303130 | ||
|
Description
Bing Li
2016-05-16 09:17:37 UTC
This seems to be just about specifying the values as numbers rather than as strings - we probably just need to skip the quotes around the numeric values. Also, the name of the plugin in the actual configuration on master (STG) is ClusterResourceConfig, whereas based on the expectation (as per QE) it should be ClusterResourceOverride. Create a pod with resources like below:
resources:
limits:
memory: "600Mi"
cpu: "400m"
requests:
memory: "100Mi"
cpu: "300m"
Then the memory/cpu requests/limits of the pod will be calculated based on the override ratio:
# oc describe pod pod-limit-memory
Limits:
cpu: 1170m
memory: 600Mi
Requests:
cpu: 70m
memory: 360Mi
Move to verified.
|