[ 
https://issues.apache.org/jira/browse/AIRFLOW-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963310#comment-16963310
 ] 

Akshesh Doshi commented on AIRFLOW-5525:
----------------------------------------

Considering my previous comment, I believe that someone with a basic knowledge 
of Python classes can help implement this feature. Hence, I would like to 
propose the maintainers to consider tagging this as a "good issue for 
new/first-time contributors". I am not able to make any changes to this ticket, 
so I believe I do not have access to do so.

 

[~acordiner] If this feature is interesting and useful to you, you might want 
to consider implementing this. If you need any clarification or other 
implementation details, I would love to help. :) 

> Extra TaskTemplate and ContainerSpec arguments in SwarmOperator
> ---------------------------------------------------------------
>
>                 Key: AIRFLOW-5525
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5525
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 2.0.0
>            Reporter: Alister Cordiner
>            Priority: Minor
>              Labels: Docker, docker, orchestration, swarm
>
> A new {{DockerSwarmOperator}} was added in AIRFLOW-4843. It would be very 
> useful to add the ability to pass extra arguments to the {{TaskTemplate}} and 
> {{ContainerSpec}}. For example, it would be handy to be able to specify 
> labels and placement constraints.
> In particular, the following would be useful for my purposes (but generic 
> functionality to add any arguments would also be very useful):
>  * {{TaskTemplate.Placement}} - Placement constraints
>  * {{TaskTemplate.Resources}} - Memory limits and reservations
>  * {{ContainerSpec.labels}} - Container labels



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to