fix: restore memory limit at 4Gi to prevent node starvation#1046
fix: restore memory limit at 4Gi to prevent node starvation#1046BATMAN-JD wants to merge 1 commit into
Conversation
WalkthroughAdds a ChangesResource Limit Configuration
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: deployment, configuration Suggested reviewers: none 🐰 A hop, a nibble, a memory boost, 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BATMAN-JD The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PR openshift#1044 removed the memory limit to address OOMKilled issues with 3Gi limit. However, this creates a risk where the memory leak in AAO could consume the entire node's memory and starve other pods. Restore memory limit at 6Gi (double the previous 3Gi limit) to: - Provide headroom for the current 586 Account CRs in hivei01ue1 - Prevent unbounded memory growth from starving the node - Address the OOM issues while containing the memory leak The memory leak itself needs to be investigated and fixed separately. Related: openshift#1044
39d1d7b to
5f1f99a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1046 +/- ##
=======================================
Coverage 46.65% 46.65%
=======================================
Files 46 46
Lines 7033 7033
=======================================
Hits 3281 3281
Misses 3414 3414
Partials 338 338 🚀 New features to boost your workflow:
|
|
@BATMAN-JD: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
PR #1044 removed the memory limit to address OOMKilled issues with 3Gi limit. However, this creates a risk where the memory leak in AAO could consume the entire node's memory and starve other pods.
Changes
Restore memory limit at 4Gi in both deployment manifests:
deploy/operator.yamldeploy_pko/Deployment-aws-account-operator.yaml.gotmplRationale
Next Steps
The memory leak itself needs to be investigated and fixed separately.
Related