You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When performing an upgrade, if the user upgrades to a faulty image causing the Container to crash shortly thereafter, during this brief period (before the Container crashes), since the Pod has already been upgraded, the next Pod upgrade might be permitted (with currentUnavailable being 0 and the previous Pod being checked as healthy). This can lead to the final number of unavailable instances exceeding the maxUnavailable limit.
Expected behavior
In addition to the isHealthy check, it may also be necessary to rely on MinReadySeconds for the isRunningAndAvailable check. At the same time, we also need to ensure that the call to isRunningAndAvailable happens after the kubelet has completed updating the status.
The text was updated successfully, but these errors were encountered:
Describe the bug
When performing an upgrade, if the user upgrades to a faulty image causing the Container to crash shortly thereafter, during this brief period (before the Container crashes), since the Pod has already been upgraded, the next Pod upgrade might be permitted (with
currentUnavailable
being 0 and the previous Pod being checked as healthy). This can lead to the final number ofunavailable
instances exceeding themaxUnavailable
limit.Expected behavior
In addition to the
isHealthy
check, it may also be necessary to rely onMinReadySeconds
for theisRunningAndAvailable
check. At the same time, we also need to ensure that the call toisRunningAndAvailable
happens after the kubelet has completed updating the status.The text was updated successfully, but these errors were encountered: