Revert "Gracefully delete pods from the Kubelet"
This commit is contained in:
@@ -294,8 +294,7 @@ func filterActivePods(pods []api.Pod) []*api.Pod {
|
||||
var result []*api.Pod
|
||||
for i := range pods {
|
||||
if api.PodSucceeded != pods[i].Status.Phase &&
|
||||
api.PodFailed != pods[i].Status.Phase &&
|
||||
pods[i].DeletionTimestamp == nil {
|
||||
api.PodFailed != pods[i].Status.Phase {
|
||||
result = append(result, &pods[i])
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user