Chart: Implement deployPerBundle feature for DAG processor deployments
#61039
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.







Related Issue
Issue: #61037
Description
This PR implements per-bundle DAG Processor deployments feature, allowing users to create separate Kubernetes deployments for each DAG bundle defined in
dagBundleConfigList. This enables independent resource isolation, scaling, and configuration per bundle.Motivation
Currently, when multiple DAG bundles are configured, all bundles are processed by a single DAG processor deployment. This limits the ability to:
Changes
Configuration (
values.yaml)Added new
dagProcessor.deployPerBundlesection:Features
deployPerBundle.enabledistrue, creates a separate Deployment for each bundle indagBundleConfigList{{ bundleName }}placeholder that gets replaced with actual bundle namebundleOverridesmap:deployPerBundle.enabledisfalse, maintains existing single deployment behaviorImplementation Details
dag-processor.deploymentdag-processor.poddisruptionbudgetbundleOverrides[bundleName].enabledFiles Changed
chart/templates/dag-processor/dag-processor-deployment.yaml: Added per-bundle deployment logicchart/templates/dag-processor/dag-processor-poddisruptionbudget.yaml: Added per-bundle PDB logicchart/values.yaml: AddeddeployPerBundleconfiguration sectionchart/values.schema.json: Added schema validation fordeployPerBundlehelm-tests/tests/helm_tests/airflow_core/test_dag_processor_per_bundle.py: Added comprehensive test casesUsage Example
This will create:
{release-name}-dag-processor-bundle1deployment with 3 replicas and production resources{release-name}-dag-processor-bundle2deployment with 1 replica and standard resourcesWas generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.