-
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
[AIRFLOW-5221] add host_aliases to KubernetesPodOperator #7365
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
5620a8d
to
9522d77
Compare
Codecov Report
@@ Coverage Diff @@
## master #7365 +/- ##
===========================================
- Coverage 87.17% 59.93% -27.25%
===========================================
Files 933 933
Lines 45290 45292 +2
===========================================
- Hits 39482 27145 -12337
- Misses 5808 18147 +12339
Continue to review full report at Codecov.
|
9522d77
to
fd68dc8
Compare
f6e6209
to
e9ad153
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code okay.
@dimberman Do we want to carry on down this route or are we close to having your re-work of the entire kube executor config?
@ashb I merged your request, but It seems that travis has a problem. |
@ashb as the config rewrite is down the road I'm good to merge this. |
Thanks!
|
|
Thanks for your pointing. Test failed replicates in my environemnt. |
After extending timeout to 200, the test passed.
|
bb30a62
to
22b02e8
Compare
The latest test failed due to timeout, but this fail is due to timing problem. |
this is very much needed. what is the status? |
Hi @kuromt could you please rebase with master? When those tests pass I'm good to merge |
23dd78e
to
2101c9b
Compare
I rebase with master and pused to my branch. I don't have permission to retry this test. Can you retry this test? |
603555f
to
dbfd281
Compare
8257889
to
6a1aafd
Compare
6a1aafd
to
425f416
Compare
425f416
to
976be5a
Compare
Hello, could you advice - will these changes get merged any time soon? This functionality would be helpful. |
976be5a
to
9229fcd
Compare
I'm not a Kubernetes expert, but can't this option be configured with
|
9229fcd
to
c8763bf
Compare
@mik-laj |
Today I run CI test but some tests failed. I fix my bug and run CI test again. |
@kuromt Our mistake was to add a large number of parameters to this operator. This makes it very difficult to maintain. We are now trying to change the approach and recommend using the above-mentioned parameters. We know that changing habits can be problematic for many users and there were even command that would facilitate migrations, but it is not finished yet. If we do not take steps in this direction, we will be sad all the time because we will be missing new Kubernetes features in Airfllow. We as project maintainers are also bored as we add/review every new feature the user may need. I hope that the presented description of the situation will allow you to better understand the problem that we have. Do you have any other idea to solve this problem? I am open to discussion. CC: @dimberman @kaxil |
@mik-laj Thanks. Let me confirm that the command is helper tool to generate API Object from existing dag files for |
c8763bf
to
9285196
Compare
@kuromt The new PR is a good idea. |
@kuromt Should we close this PR or do you want to keep working on it? |
OK, I close this PR. @mik-laj Thanks for your support. |
add host_aliases paramter to KubernetesPodOperator.
The parameter is set to pod.spec.hostAliases.
Please see detail in the kubernetes document.
Issue link: AIRFLOW-5221
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.