kubernetes/pkg/apis/core/validation
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 Generated code for Shared Process Namespace 2018-02-21 19:13:06 +01:00
doc.go pkg/apis/core: fixup package names 2017-11-09 12:14:07 +01:00
events_test.go Add new Events API group 2017-11-22 18:40:09 +00:00
events.go Add new Events API group 2017-11-22 18:40:09 +00:00
OWNERS
validation_test.go Add feature gate for subpath 2018-03-05 09:14:44 +01:00
validation.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