kubernetes/pkg/scheduler/algorithm/predicates
Rohit Agarwal e6db88b12d Resources prefixed with *kubernetes.io/ should remain unscheduled if they are not exposed on the node.
Currently, resources prefixed with *kubernetes.io/ get scheduled to any
node whether it's exposing that resource or not.

On the other hand, resources prefixed with someother.domain/ don't get
scheduled to a node until that node is exposing that resource (or if the
resource is ignored because of scheduler extender).

This commit brings the behavior of *kubernetes.io/ prefixed resources in
line with other extended resources and they will remain unscheduled
until some node exposes these resources.

This also includes renaming IsDefaultNamespaceResource() to
IsNativeResource().
2018-03-28 17:24:30 -07:00
..
BUILD Update generated files 2018-03-04 14:37:20 -08:00
error.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
metadata_test.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
metadata.go Support cluster-level extended resources in kubelet and kube-scheduler 2018-02-27 17:25:30 -08:00
predicates_test.go Resources prefixed with *kubernetes.io/ should remain unscheduled if they are not exposed on the node. 2018-03-28 17:24:30 -07:00
predicates.go Merge pull request #60386 from k82cn/k8s_60163 2018-03-02 03:41:50 -08:00
testing_helper.go Fix golint errors in pkg/scheduler based on golint check 2018-02-08 15:22:47 +08:00
utils_test.go Refactor HostIP predicate algorithm 2018-01-08 17:10:21 -08:00
utils.go Revert "Revert revert of equivalence class hash calculation in scheduler" 2018-03-23 17:34:49 -07:00