kubernetes/pkg/api
k8s-merge-robot 8677b0c545 Merge pull request #28743 from Clarifai/gpu-impl
Automatic merge from submit-queue

Fix GPU resource validation

This fixes scheduling of pods with GPU resources. The change was never upstreamed during the 1.3 beta period, as it got lost in the noise of other changes in our fork. Ooops. I'll submit a cherry-pick request for 1.3.1 as soon as this lands in master.

Because of defaulting, requests are always set if limits are. Thus, the check can never succeed. Instead, make sure that the two values are equal.

Also, remove a few other error messages and remove unnecessary Sprintf calls.
2016-07-16 11:48:42 -07:00
..
annotations Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
endpoints Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
errors Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
install Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
meta Implement a RESTMappings method 2016-07-13 21:18:53 -04:00
pod Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource Add support for manually defined DeepCopy methods 2016-07-07 16:49:46 -07:00
rest api: validate generation updates 2016-07-07 13:09:48 +02:00
service Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
testapi Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
testing Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
unversioned Commit generated files 2016-07-15 10:27:51 -07:00
util Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
v1 Commit generated files 2016-07-15 10:27:51 -07:00
validation Merge pull request #28743 from Clarifai/gpu-impl 2016-07-16 11:48:42 -07:00
context_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
context.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
conversion_test.go Turn pkg/api/pod_example.json into go struct to avoid noise in pprof 2016-07-12 20:36:48 +02:00
conversion.go Make it build! 2016-07-14 18:38:58 -07:00
copy_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
deep_copy_test.go Turn pkg/api/pod_example.json into go struct to avoid noise in pprof 2016-07-12 20:36:48 +02:00
doc.go Recreate the opt-in/opt-out logic for deepcopy 2016-07-07 16:49:46 -07:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
generate.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
helpers_test.go Use PreferAvoidPods annotation to avoid pods being scheduled to specific node. 2016-07-13 17:07:46 +08:00
helpers.go Use PreferAvoidPods annotation to avoid pods being scheduled to specific node. 2016-07-13 17:07:46 +08:00
mapper.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
meta_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
meta.go move api.OjbectReference.ObjectKind() to ref.go 2016-07-14 23:02:05 -07:00
node_example.json Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
ref_test.go Use make as the main build tool 2016-07-12 21:52:00 -07:00
ref.go move api.OjbectReference.ObjectKind() to ref.go 2016-07-14 23:02:05 -07:00
register.go Fixed several typos 2016-07-13 15:06:24 +01:00
replication_controller_example.json Merge pull request #10604 from nikhiljindal/v1 2015-07-01 15:54:17 -07:00
requestcontext.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
resource_helpers.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serialization_proto_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
serialization_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
types.generated.go Use PreferAvoidPods annotation to avoid pods being scheduled to specific node. 2016-07-13 17:07:46 +08:00
types.go Merge pull request #25273 from ncdc/exec-sigwinch 2016-07-14 07:26:49 -07:00
zz_generated.deepcopy.go Commit generated files 2016-07-15 10:27:51 -07:00