Closed sthaha closed 6 years ago
Proxy uses ! idler.IsIdle() to check if pods are running but that is wrong as IsIdle can return false if pods are just starting or terminating. Hence lets use the new api in idler status to check if the Pods are actually running.
! idler.IsIdle()
running
IsIdle
false
starting
terminating
status
Proxy uses
! idler.IsIdle()
to check if pods arerunning
but that is wrong asIsIdle
can returnfalse
if pods are juststarting
orterminating
. Hence lets use the new api in idlerstatus
to check if the Pods are actually running.