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
However, we've seen a case where all pods of a statefulset were deleted, but no new pods were created yet. This caused the listNotReadyPodsByStatefulSet method return no pods at all, as there were no pods in any state.
This caused an outage, as next zone was terminated immediately, before no pods were available in the first one.
I think that the code should check that there are at least as many pods as replicas desired by the statefulset, and then it should check whether some of them are unready.
The text was updated successfully, but these errors were encountered:
We're currently checking
hasStatefulSetNotReadyPods
before considering the zone reconciled:rollout-operator/pkg/controller/controller.go
Lines 382 to 410 in 0b99175
However, we've seen a case where all pods of a statefulset were deleted, but no new pods were created yet. This caused the
listNotReadyPodsByStatefulSet
method return no pods at all, as there were no pods in any state.This caused an outage, as next zone was terminated immediately, before no pods were available in the first one.
I think that the code should check that there are at least as many pods as replicas desired by the statefulset, and then it should check whether some of them are unready.
The text was updated successfully, but these errors were encountered: