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
[AIRFLOW-3126] Add option to specify additional K8s volumes #7423
Conversation
c3b14a7
to
c12ddd9
Compare
1bff31e
to
9ffcd34
Compare
Codecov Report
@@ Coverage Diff @@
## master #7423 +/- ##
===========================================
- Coverage 86.97% 64.75% -22.23%
===========================================
Files 927 927
Lines 44963 45009 +46
===========================================
- Hits 39108 29145 -9963
- Misses 5855 15864 +10009
Continue to review full report at Codecov.
|
All right, I just checked locally (with In other words, I don't know why CodeCov is saying coverage decreased in those untouched and unrelated files. |
9ffcd34
to
7206b68
Compare
coverage is guideline and it really only works 100% with master builds. we have some optimisations on building times for PR builds (for example no kubernwtes tests are run if no kuberneyes files are touched). so do not worry about coverage decrease in unrelated files |
7206b68
to
8fdcdc5
Compare
I've noticed you've added several PRs recently to add missing functionality to the |
@davlum, I've tried it and It did not appear to help—specifically, for default worker pod creation under the K8s Executor. It required too much specificity in the template and seemed to deactivate most other configuration options. Can you give an example of how it can be used to add volumes in exactly this way without sacrificing any of the existing functionality/configurability of worker pod creation? Also, I don't see how it could possibly help with #7405. |
If that field is set it won't use the other fields as indicated by the comment. You're right in that it definitely won't help with #7405, but I don't see why what you're trying to accomplish in this PR can't be done with that field. Do you have some example YAML that you want to create and we can test with that? Ftr I'm not invalidating this PR, I was just wondering if you had considered the option. |
a1fb05e
to
f026674
Compare
f026674
to
55a7af2
Compare
55a7af2
to
2aa2c86
Compare
Sorry, I have to move this to my personal fork: #8150. |
This PR introduces a new config option,
kubernetes.extra_volume_mounts
, that allows users to specify multiple Kubernetes volumes to be mounted in each generated worker pod.Issue link: AIRFLOW-3126
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]
. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX]
.In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.