ctso opened a new issue #12074:
URL: https://github.com/apache/airflow/issues/12074


   **Description**
   
   Kubernetes [suggests avoiding the use of bare 
Pods](https://kubernetes.io/docs/concepts/workloads/controllers/job/#bare-pods) 
for workloads and instead recommends using a `Job` or some other resource that 
has a `ReplicationController` associated with it.  While there are certainly 
some risks involved when the Kubernetes cluster is able to make a decision 
about restarting a Pod, in my opinion it would be nice to have the option to 
run Jobs instead of Pods.
   
   **Use case / motivation**
   
   In a situation where Airflow is simply a tenant of a larger Kubernetes 
cluster, having bare pods running can lead to confusion for the operators of 
the Kubernetes cluster.  Using Jobs would allow operations like `kubectl drain 
{node}` to happen without knowledge of Airflow and its workload.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to