-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update/implement celery k8s executor #3400
Update/implement celery k8s executor #3400
Conversation
WalkthroughWalkthroughThis pull request introduces modifications to Kubernetes deployment configurations, specifically for the Celery worker's autoscaling parameters. The maximum and minimum worker processes have been adjusted to enhance resource management. Additionally, YAML configuration files have been updated for consistency in string formatting and increased memory limits for the webserver container, reflecting a refinement in resource allocation across environments. Changes
Possibly related PRs
Suggested labels
Poem
Tip New featuresWalkthrough comment now includes:
Notes:
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (3)
k8s/workflows/values-prod.yaml (1)
38-38
: Memory limit increased to address OOM issues.The memory limit for the webserver container has been increased from
3000Mi
to4000Mi
. This change is crucial in addressing the OOM killed errors as described in the PR objectives. It is recommended to monitor the system's performance and resource utilization following this adjustment to ensure it meets the expected improvements without overallocation.k8s/workflows/values-stage.yaml (1)
38-38
: Increased memory limit for better resource management.The memory limit for the celery container has been increased from
3000Mi
to4000Mi
, mirroring the change made in the production environment. This adjustment is crucial for addressing potential OOM issues and should be monitored to assess its effectiveness and resource utilization.k8s/workflows/templates/deployment.yaml (1)
86-86
: Optimized autoscaling parameters for Celery worker.The autoscale parameters for the Celery worker have been adjusted from
--autoscale=8,3
to--autoscale=6,2
. This change is intended to optimize resource usage and prevent OOM issues by reducing the number of concurrent worker processes. It is advisable to monitor the impact of this change on task processing times and overall system performance to ensure that it meets the operational requirements without adversely affecting throughput.
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- k8s/workflows/templates/deployment.yaml (1 hunks)
- k8s/workflows/values-prod.yaml (2 hunks)
- k8s/workflows/values-stage.yaml (2 hunks)
Additional comments not posted (2)
k8s/workflows/values-prod.yaml (1)
14-15
: String formatting consistency improved.The changes from single to double quotes in
nameOverride
andfullnameOverride
enhance consistency in YAML formatting. These changes are approved as they do not impact functionality.k8s/workflows/values-stage.yaml (1)
14-15
: Consistent string formatting across environments.The changes from single to double quotes in
nameOverride
andfullnameOverride
are consistent with the production environment settings, enhancing uniformity across deployments. These changes are approved.
WHAT DOES THIS PR DO?
WHAT ISSUES ARE RELATED TO THIS PR?
Summary by CodeRabbit
New Features
Performance Improvements
Configuration Refinements