mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #35404 from brendandburns/autoscale
Automatic merge from submit-queue Don't count failed pods as "not-ready" Closes #35108 (I hope) @wojtek-t @kubernetes/autoscaling
This commit is contained in:
commit
5f78a70483
@ -565,7 +565,12 @@ func waitForAllCaPodsReadyInNamespace(f *framework.Framework, c clientset.Interf
|
||||
ready = true
|
||||
}
|
||||
}
|
||||
if !ready {
|
||||
// Failed pods in this context generally mean that they have been
|
||||
// double scheduled onto a node, but then failed a constraint check.
|
||||
if pod.Status.Phase == api.PodFailed {
|
||||
glog.Warningf("Pod has failed: %v", pod)
|
||||
}
|
||||
if !ready && pod.Status.Phase != api.PodFailed {
|
||||
notready = append(notready, pod.Name)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user