-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Helm chart fails with multiple executors #46733
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval. |
I tested the fix in the two scenarios.
|
@alecsg77 @eladkal I can have a look at this. Is the 1.16.0-dev chart available in a helm repo? Could you give me a hint on how to find that release? Could not find it online in the docs and can only see the stable versions. I tried
|
The dev helm chart is available from the source, or at least it's where I took it. |
Official Helm Chart version
main (development)
Apache Airflow version
2.10.5
Kubernetes Version
k3s version v1.31.5+k3s1
Helm Chart configuration
Docker Image customizations
None
What happened
Helm upgrade failed for release airflow/airflow with chart airflow@1.16.0-dev:
cannot patch "airflow-scheduler" with kind Deployment: Deployment.apps "airflow-scheduler" is invalid: metadata.labels: Invalid value: "CeleryExecutor,KubernetesExecutor": a valid label must be an empty string or consist of alphanumeric characters, ''-'', '''' or ''.'', and must start and end with an alphanumeric character (e.g. ''MyValue'', or ''my_value'', or ''12345'', regex used for validation is ''(([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9])?'')'
What you think should happen instead
Successfully update the chart and use the multiple executors feature.
How to reproduce
helm upgrade -f values.yaml airflow ./char/ --namespace airflow
Anything else
Linked to #43224
Scheduler deployment sets a label executor without considering that the executor should be on a comma-separated list.
airflow/chart/templates/scheduler/scheduler-deployment.yaml
Line 60 in a10ae15
Two possible solutions:
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: