You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ron van Weverwijk (JIRA)" <ji...@apache.org> on 2019/06/12 09:53:00 UTC

[jira] [Created] (AIRFLOW-4781) Added the ability to specify ports in kubernetesOperator

Ron van Weverwijk created AIRFLOW-4781:
------------------------------------------

             Summary: 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


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)