-
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
Setting podAnnotations for workers also adds them to other deployments such as scheduler #40804
Comments
I attempted to reproduce the issue in the main branch but was unsuccessful.
Maybe you have changed your configuration in |
@romsharon98 thanks for looking at this. We do not use |
Anyone willing to provide a fix are welcome to. |
Apologies, looks like this has actually been fixed after all with #40554. Just tested again with the |
Yeah, I believe this was already fixed as you've found. I'm going to start a release for the helm chart tomorrow. |
Official Helm Chart version
1.14.0 (latest released)
Apache Airflow version
2.9.2
Kubernetes Version
EKS 1.30
Helm Chart configuration
Docker Image customizations
Yes but not relevant to this I don't think.
What happened
Configuring podAnnotations for workers results in other deployments such as the scheduler also getting those annotations if using
executor: "KubernetesExecutor"
What you think should happen instead
Only the worker pods should get those annotations.
How to reproduce
Configure the helm chart with executor and worker podAnnotations such as
Anything else
We added this annotation in conjunction with updating our helm chart version from
1.13.1
to1.14.0
so unsure if it occurs on earlier helm chart versions. Having a look at the release notes though it looks like this may potentially be the culprit #37352 since it looks like it overwritesairflowPodAnnotations
withworkers.podAnnotations
.Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: