-
Notifications
You must be signed in to change notification settings - Fork 0
add resource and replica support #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis Helm chart update increases the default replica count from 1 to 3, adds conditional resource limits and requests for the app container, updates the deployment template to render resources when provided, and bumps the chart version to 0.2.5. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (1)charts/lfx-v2-access-check/**📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (1)📚 Learning: 2025-08-07T15:22:00.043ZApplied to files:
🪛 YAMLlint (1.37.1)charts/lfx-v2-access-check/templates/deployment.yaml[error] 42-42: syntax error: could not find expected ':' (syntax) 🔇 Additional comments (5)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Kubernetes resource management capabilities to the lfx-v2-access-check Helm chart, enabling better control over CPU and memory allocation for the access check service pods.
- Introduces configurable resource limits and requests in the values file
- Updates the deployment template to apply these resource constraints to containers
- Bumps the chart version from 0.2.4 to 0.2.5
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| charts/lfx-v2-access-check/values.yaml | Adds default resource limits (500m CPU, 512Mi memory) and requests (100m CPU, 128Mi memory) |
| charts/lfx-v2-access-check/templates/deployment.yaml | Conditionally applies resource constraints from values to the container spec |
| charts/lfx-v2-access-check/Chart.yaml | Increments chart version to reflect the new resource management feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Alan Sherman <[email protected]>
d94261e to
3c3b6d0
Compare
No description provided.