OCPBUGS-78355: add cpu limits to catalogsource pods - #3915
ankitathomas wants to merge 1 commit into
Conversation
Signed-off-by: Ankita Thomas <ankithom@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe catalog pod container now has a CPU limit of 2 cores. Reconciler fixtures update expected pod hashes and resource specifications for standard, legacy, extracted, cache, and restricted configurations. ChangesCatalog Pod Resources
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The intended 2-core catalog pod CPU limit is reflected across the reconciler fixtures, with no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 golangci-lint (2.13.2)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions 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 NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hey @ankitathomas could you please fix up the formatting of |
Description of the change:
On startup, catalogsource pods cause CPU spikes which can degrade node health on clusters. This PR adds resource limits to CPU cores for catalogsource pods to avoid performance degradation. CPU limit set to 2 cores since openshift nodes typically need 4 cores for multi node clusters and 8 cores for single node openshift.
Summary by CodeRabbit