Wilderone opened a new issue #21994: URL: https://github.com/apache/airflow/issues/21994
### Official Helm Chart version 1.4.0 (latest released) ### Apache Airflow version 2.2.4 (latest released) ### Kubernetes Version v1.21.5-eks-bc4871b ### Helm Chart configuration _No response_ ### Docker Image customisations _No response_ ### What happened Current livenessProbe in scheduler returns 0 exit code even if execution failed, this leads to container won't restart if it necessary. I see two ways to fix this: 1. Simply remove ```- exec``` from livenessProbe 2. Move livenessProbe to values for customisation by client ### What you expected to happen Restart container if livenessProve failed ### How to reproduce Fastest way - change livenessProbe to: ``` - sh - c - exec - cat /123 ``` You will see no errors in pod describe ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
