kubernetes/plugin/pkg/scheduler/algorithm/predicates
Kubernetes Submit Queue 16f87fe7d8 Merge pull request #40952 from dashpole/premption
Automatic merge from submit-queue (batch tested with PRs 41994, 41969, 41997, 40952, 40576)

Guaranteed admission for Critical Pods

This is the first step in implementing node-level preemption for critical pods.
It defines the AdmissionFailureHandler interface, which allows callers, like the kubelet, to define how failed predicates are handled, and take steps to correct failures if necessary.
In the kubelet's implementation, it triggers preemption if the pod being admitted is critical, and if the only failed predicates are InsufficientResourceErrors, then it prempts (not yet implemented) other other pods to allow admission of the critical pod.

cc: @vishh
2017-02-26 12:57:59 -08:00
..
BUILD Switch scheduler to use generated listers/informers 2017-02-23 09:57:12 -05:00
error.go critical pods can preempt other pods to be admitted 2017-02-23 10:31:20 -08:00
metadata.go [scheduler] Use V(10) for anything which may be O(N*P) logging 2016-11-28 10:31:49 -05:00
predicates.go Switch scheduler to use generated listers/informers 2017-02-23 09:57:12 -05:00
predicates_test.go Update tests. 2017-02-22 09:27:42 -05:00
utils.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
utils_test.go refactor: use metav1.ObjectMeta in other types 2017-01-17 16:17:19 -05:00