-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scheduler: livenessProbe redundant exec leads to false-positive result #21994
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
Hey @ephraimbuddy @jedcunningham - I think that one might be important enough to cancel 1.5.0 of chart and make a release candidate 2. I just checked it and I think this is is indeed wrong what we have. The current liveness probe is:
But it should be IMHO:
|
Yeah. I support having an RC 2. |
This is fixed by #22041. |
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:
- exec
from livenessProbeWhat you expected to happen
Restart container if livenessProve failed
How to reproduce
Fastest way - change livenessProbe to:
You will see no errors in pod describe
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: