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

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

Commit a812f48052d0839ea4e9d6ddc6b6e6be78608ce7 in airflow's branch 
refs/heads/master from Daniel Imberman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=a812f48 ]

[AIRFLOW-6062] Executor would only delete workers in its own namespace (#7123)

* [AIRFLOW-6062] Executor would only delete pods in its own namespace

* add tests

* clean up PR

* static tests

* Update airflow/executors/kubernetes_executor.py

Co-Authored-By: Kaxil Naik <kaxiln...@gmail.com>

* Update airflow/executors/kubernetes_executor.py

Co-Authored-By: Kaxil Naik <kaxiln...@gmail.com>

* Update airflow/executors/kubernetes_executor.py

Co-authored-by: Kaxil Naik <kaxiln...@gmail.com>


> Scheduler doesn't delete worker pods from namespaces different than the 
> scheduler's namespace
> ---------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-6062
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6062
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor-kubernetes
>    Affects Versions: 1.10.5
>            Reporter: Mihail Petkov
>            Assignee: Daniel Imberman
>            Priority: Blocker
>
> When you run Airflow's task instances as worker pods in different namespaces 
> into a Kubernetes cluster, the scheduler can delete only the pods that are 
> living in the same namespace where the scheduler lives. It's trying to delete 
> all pods that are in the namespace defined in the airflow.cfg file.



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

Reply via email to