Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corev1.PodSucceeded alone should always mean "static pod pending"
the following conditions: - a) pod.Status.Phase == PodSucceeded - b) pod.Status.Condition[type==corev1.PodReady]: status == corev1.ConditionTrue if kubelet does not update the Pod status (a and b) atomically then there is a gap between when 1) pod.Status.Phase is set to PodSucceeded and 2) the PodReady condition is updated to False if a abd b are true then we may signal that "static pod is ready" on the designated node, which may cause the installer controller to create a new installer pod on a different node if a is true, this alone can be used to say that "static pod is pending" on the designated node.
- Loading branch information