Repository navigation
chore: memory requests and limits from measured usage (main) - #144
Conversation
Only resource lines. Context: simplify9/infrastructure-monitoring#176. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🧰 Additional context used📓 Path-based instructions (1)Treat GitHub Actions changes as supply-chain sensitive.⚙️ CodeRabbit configuration file Files:
🔇 Additional comments (1)
📝 Summary
WalkthroughThe CI/CD workflow now passes Helm values as a YAML block. It retains the existing environment, replica count, and database type settings. It adds CPU and memory resource settings. ChangesHelm configuration
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Suggested labels: Suggested reviewers: Merge Risk: ⚪ Minimal · up to No concrete deployment risk remains in the reviewed change; the existing Helm overrides are preserved and the new resource settings are passed through the reusable workflow. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
Sets memory requests and limits from measured usage. Only resource lines change (1 file changed, 5 insertions(+), 1 deletion(-)).
Prodplayground)Rule (the same one used for every app since 2026-10-04): memory request = p95 × 1.1; memory limit = max(1.5 × peak, 2 × request, 128Mi); cpu request = p95 (floor 25m); no CPU limit.
What merging does:
helm-set-valueswas a one-line quoted list. It is now a|block holding the same pairs plus the resource lines.reusable-service-cicd.ymljoins the lines with commas (tr '\n' ','), so helm receives exactly the old pairs followed by the new ones. Merging intomainbuilds and publishes a new image and chart from unchanged code, and deploysplayground/mtmon sf9-dev. The values live in this workflow, not in the chart'svalues.yaml, so the published chart's defaults (used by the sbn*-mtmreleases) do not change.Checked before opening:
resources; the old values render no resources, which is the control.Revert: revert this commit; the next deploy restores the previous behaviour.
Context and evidence: simplify9/infrastructure-monitoring#176
🤖 Generated with Claude Code