feat: add beat and worker-usage Helm deployments - #2
Merged
Conversation
|
| Filename | Overview |
|---|---|
| charts/efficientai/templates/_helpers.tpl | Adds default commands for the supervised Beat/platform processes and the dedicated usage worker; the previously reported supervision and signal-forwarding issues are addressed. |
| charts/efficientai/templates/beat/deployment.yaml | Adds the single-replica Beat Deployment with configurable scheduling, pod settings, resources, and termination grace period. |
| charts/efficientai/templates/worker-usage/deployment.yaml | Adds the usage-queue worker Deployment and correctly delegates replica management when autoscaling is enabled. |
| charts/efficientai/templates/worker-usage/hpa.yaml | Adds the previously missing autoscaler and targets the worker-usage Deployment consistently. |
| charts/efficientai/tests/beat_deployment_test.yaml | Covers Beat rendering, supervision command content, configuration overrides, disablement, and the single-replica constraint. |
| charts/efficientai/tests/worker_usage_deployment_test.yaml | Covers usage-worker command rendering, overrides, enablement, replica omission, and HPA creation. |
| charts/efficientai/values.yaml | Defines defaults and customization surfaces for the Beat and worker-usage components. |
Reviews (4): Last reviewed commit: "feat: implement graceful shutdown for Ce..." | Re-trigger Greptile
TEJASNARAYANS
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
beatDeployment (Celery Beat + platform queue worker, single replica)worker-usageDeployment (usage queue, threads pool)Test plan
make unittest(46 passed)