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

ASF subversion and git services commented on AIRFLOW-4781:
----------------------------------------------------------

Commit 9a92fc5b28e0383c2d7f2de9ce0d5ebd835cc539 in airflow's branch 
refs/heads/v1-10-stable from Ron van Weverwijk
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=9a92fc5 ]

[AIRFLOW-4781] Add the ability to specify ports in kubernetesOperator (#5410)

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

added docstring

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

add typehints

Co-Authored-By: Fokko Driesprong <[email protected]>

* [AIRFLOW-4781] Added the ability to specify ports in kubernetesOperator

fixed docstrings and typehints

(cherry picked from commit 6eb326255ddd39c762e556556027d17a25ec5bc0)


> Added the ability to specify ports in kubernetesOperator
> --------------------------------------------------------
>
>                 Key: AIRFLOW-4781
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4781
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: operators
>    Affects Versions: 1.10.3
>            Reporter: Ron van Weverwijk
>            Assignee: Ron van Weverwijk
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> In kubernetes you have the ability to specify which ports to open to the 
> container.
>  
> {code:java}
> containers:
>     - name: task-pv-container
>       image: nginx
>       ports:
>         - containerPort: 80
>           name: "http-server"
> {code}
> In this issue we want to add that support to the kubernetesOperator and 
> `PodRequestFactory`
> With the support in the PodRequestFactory we can add functionality to build 
> an operator that start a container in kubernetes and interact over the opened 
> port.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to