Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use requests, not defaultRequest, in deploy definition
Followup to ManageIQ#20661 Previously, it looks like kubernetes was silently ignoring the defaultRequest, while still honoring the rest of the definition. We were seeing definitions with the resource limits but no requests: ``` $ oc get deploy 1-generic -o yaml | grep -A 6 "resources:" resources: limits: cpu: "1" memory: 1Gi ``` We found that existing deployment definitions in other projects used the key 'requests', so after making this change, we now have both limits and requests in the deployment definition: ``` $ oc get deploy 1-generic -o yaml | grep -A 6 "resources:" resources: limits: cpu: "1" memory: 1Gi requests: cpu: 150m memory: 500Mi ```
- Loading branch information