apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.44k stars 13.84k forks source link

Support Native Kubernetes sidecars in our Chart #35154

Open potiuk opened 8 months ago

potiuk commented 8 months ago

Body

The 1.28 version of K8S introduce "naative sidecars" https://kubernetes.io/blog/2023/08/25/native-sidecar-containers/ which - with implementation of KEP-753 finally solve the long standing problem of sidecar lifetime management, where exiting the main container would not stop the POD where sidecar container is still running. We could likely also use some more features of sidecars.

Implementing some of our sidecars (for example kerberos, but also other sidecars that we currently use) would sovle the problems of side-car containers not being killed when main container shuts down, allowing to have better self-maintained k8s deployment.

It would be great to review our helm chart and apply the new sidecar pattern (for k8s >= 1.28).

Committer

amoghrajesh commented 2 weeks ago

@potiuk @eladkal I will self assign this to myself. I plan to start working on this soon as part of a follow up to https://github.com/apache/airflow/pull/35146

potiuk commented 1 week ago

Cool!