mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user