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
// foreachPodResourceClaim only returns errors for "not
310
-
// schedulable".
311
-
logger.V(6).Info("pod is not schedulable after resource slice change", "pod", klog.KObj(pod), "resourceSlice", klog.KObj(modifiedSlice), "reason", err.Error())
312
-
returnframework.QueueSkip, nil
313
-
}
314
-
315
-
// We could check what got changed in the slice, but right now that's likely to be
316
-
// about the spec (there's no status yet...).
317
-
// We could check whether all claims use classic DRA, but that doesn't seem worth it.
318
-
// Let's assume that changing the slice may make the pod schedulable.
319
-
logger.V(5).Info("ResourceSlice change might make pod schedulable", "pod", klog.KObj(pod), "resourceSlice", klog.KObj(modifiedSlice))
320
-
returnframework.Queue, nil
321
-
}
322
-
323
291
// podResourceClaims returns the ResourceClaims for all pod.Spec.PodResourceClaims.
0 commit comments