feat(helm): dedicated worker Deployment for process-role split#197
Merged
Conversation
Close the P1-1 chart follow-up: worker.enabled (default false) renders a delivery-loop Deployment with AGENTFLOW_PROCESS_ROLE=worker, pins the API Deployment to role=api, and narrows the Service selector to component=api so workers do not take request traffic. Requires controlPlane.store=postgres; worker data volume is always emptyDir (no RWO multi-attach on the API PVC). Shared container env extracted to templates/_env.tpl. Unit contract: 23/23.
DORA Metrics
|
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
Closes the chart-side P1-1 follow-up documented in
values.yaml: optional dedicated delivery-loop Deployment.worker.enabled(default false) keeps the single-pod shape (noAGENTFLOW_PROCESS_ROLE)controlPlane.store=postgres: API Deployment getsrole=api/component=api; new*-workerDeployment getsrole=worker/component=workercomponent=apiso workers do not receive request trafficemptyDir(no RWO multi-attach on the API PVC)templates/_env.tplVerify
pytest tests/unit/test_helm_values_contract.py— 23/23Non-goals