Open
Description
Problem
There is a case:
t0: container liveness probe failed, readiness probe still succeed for some reason, kubelet starts to do pre-stop
t1: pre-stop done, kubelet starts to stop container
between t0 and t1, readiness probe didn't failed, pod is still ready, traffic is forwarded to the abnormal container.
Suggestion
Set container ready condition to false once liveness probe failed.