kubernetes/hack
Kubernetes Submit Queue c3d47b683b Merge pull request #53031 from vishh/device-id
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Make AllocateResponse artifacts global across all devices per container in device plugin API

The current version of Device plugins returns artifacts (env vars, mounts, devices) per device, per container. This is not necessary and results in complex merging issues on kubelet side

There can still be a conflict if the artifacts returned by device plugin conflicts with the pod spec. In that case, I'd recommend failing pods in kubelet. This is yet to be addressed.

The go package name for device plugin apis is updated from `pkg/kubelet/apis/deviceplugin/v1alpha1` to `pkg/kubelet/apis/deviceplugin/v1alpha` (sub-version dropped) because we expect the alpha version to change until it graduates to beta and changing the go package everytime the actual alpha version changes is too tedious.

```release-note
Device plugin Alpha API no longer supports returning artifacts per device as part of AllocateResponse.
```

TODO:
- [x] Bump kubelet side API version
- [X] Post an updated device plugin image that works with the new API version
- [ ] Stabilize e2es (This PR needs to be merged since there is a dependency on the plugin side for vendoring)
2017-10-19 12:43:52 -07:00
..
boilerplate update BUILD files 2017-10-15 18:18:13 -07:00
cmd/teststale update BUILD files 2017-10-15 18:18:13 -07:00
e2e-internal Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
gen-swagger-doc correct the script name for generating swagger doc 2017-06-09 14:25:32 +08:00
jenkins Fix some comment in hack/jenkins/*-dockerized.sh 2017-09-07 19:43:41 +08:00
lib Remove dangling shell functions 2017-10-17 17:58:26 -06:00
make-rules Merge pull request #52753 from munnerz/sample-controller 2017-10-19 02:32:12 -07:00
testdata Rename TPR to CRD to be consistent 2017-10-01 21:13:24 +05:30
verify-flags some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
.golint_failures Merge pull request #53031 from vishh/device-id 2017-10-19 12:43:52 -07:00
autogenerated_placeholder.txt
benchmark-go.sh unify newline format for benchmark-go.sh 2016-12-10 01:15:30 -08:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
build-cross.sh
build-go.sh
build-ui.sh move swagger route to apiserver 2017-02-01 15:18:32 -05:00
cherry_pick_pull.sh Make doc generation on cherry-picks optional 2017-06-26 16:54:11 -04:00
dev-build-and-push.sh hack/dev-build-*: Run dev build instead of release build 2016-12-15 10:35:16 -07:00
dev-build-and-up.sh hack/dev-build-*: Run dev build instead of release build 2016-12-15 10:35:16 -07:00
dev-push-hyperkube.sh Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
e2e_test.go Fix e2e_test.go 2017-07-05 14:24:25 -07:00
e2e-node-test.sh Fix typo in e2e-node-test.sh 2017-09-19 18:10:21 +05:30
e2e.go Add signal handler for catching Ctrl-C on hack/e2e 2017-08-23 16:05:46 -07:00
federated-ginkgo-e2e.sh Default FEDERATION_KUBE_CONTEXT to FEDERATION_NAME in federation e2e up/down scripts. 2017-04-05 18:47:03 -07:00
generate-bindata.sh Use cos-stable-59-9460-64-0 instead of cos-beta-59-9460-20-0. 2017-06-16 13:48:50 -07:00
generate-docs.sh Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00
get-build.sh
ginkgo-e2e.sh Fix indent of ginkgo-e2e.sh 2017-07-31 15:10:56 -07:00
godep-restore.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
godep-save.sh Vendor godep v79 and use it 2017-09-29 15:16:09 -07:00
grab-profiles.sh
install-etcd.sh
list-feature-tests.sh Fix list-features script 2017-08-27 22:20:04 -04:00
local-up-cluster.sh Merge kube-dns templates into a single file 2017-10-03 09:43:52 -07:00
lookup_pull.py update url information to prevent http 304 redirection 2017-05-25 14:05:02 +08:00
OWNERS Add cblecker to hack/ approvers 2017-08-02 10:39:26 -07:00
print-workspace-status.sh Convert go_binary linkstamp to x_defs 2017-06-08 14:59:55 -07:00
run-in-gopath.sh
staging-import-restrictions.json k8s.io/code-generator: hide gen test output from go tools 2017-09-20 08:36:09 +02:00
test-cmd.sh
test-go.sh
test-integration.sh Remove unnecessary wrapper flags 2017-06-07 12:31:01 -04:00
test-update-storage-objects.sh etcd: update version to 3.1.10 2017-10-02 12:27:46 -07:00
update_owners.py Remove myself from a bunch of places 2017-07-20 12:10:46 +02:00
update-all.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
update-api-reference-docs.sh update generation bash to handle vendor dir 2017-01-17 09:06:34 -05:00
update-bazel.sh Update bazelbuild/rules_go to support go1.9 2017-10-16 10:41:51 -07:00
update-codegen.sh Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
update-federation-api-reference-docs.sh update generation bash to handle vendor dir 2017-01-17 09:06:34 -05:00
update-federation-generated-swagger-docs.sh update generation bash to handle vendor dir 2017-01-17 09:06:34 -05:00
update-federation-openapi-spec.sh Fix hack/update-federation-openapi-spec.sh flakyness 2017-05-19 15:39:08 -07:00
update-federation-swagger-spec.sh Federation does not generate swagger spec correctly 2017-01-06 23:45:04 -05:00
update-generated-device-plugin-dockerized.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
update-generated-device-plugin.sh Added script to generate the Device Plugin API 2017-08-15 14:59:42 -07:00
update-generated-docs.sh Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00
update-generated-protobuf-dockerized.sh start generating rbac serialization for v1 2017-10-16 16:15:17 -04:00
update-generated-protobuf.sh Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
update-generated-runtime-dockerized.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
update-generated-runtime.sh Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
update-generated-swagger-docs.sh Add priority and condition to column definitions 2017-05-29 18:23:48 -04:00
update-godep-licenses.sh Update godep-licenses script to work on darwin 2017-09-01 13:55:16 -07:00
update-gofmt.sh hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
update-openapi-spec.sh Fix race in service IP allocation repair loop 2016-12-26 21:59:27 -08:00
update-staging-godeps-dockerized.sh Clean up godep scripts to be self-contained 2017-09-29 15:16:03 -07:00
update-staging-godeps.sh Dockerize update-staging-godeps 2017-07-25 12:26:57 -07:00
update-swagger-spec.sh hack/update-swagger-spec.sh: use posix regex syntax 2017-05-31 11:57:03 +02:00
update-translations.sh Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
verify-all.sh
verify-api-groups.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-api-reference-docs.sh
verify-bazel.sh Use -proto=legacy with gazelle, and manually fix staging/ import paths 2017-10-15 18:13:56 -07:00
verify-boilerplate.sh Add a build rule for the boilerplate unit test. 2017-01-01 22:54:32 -08:00
verify-cli-conventions.sh More cli sanity verifications 2017-05-18 15:44:49 -03:00
verify-codegen.sh Add sample CustomResourceDefinition controller 2017-10-19 00:21:57 +01:00
verify-description.sh
verify-federation-api-reference-docs.sh Adding verify-federation-api-reference-docs.sh 2017-05-14 17:20:24 -07:00
verify-federation-generated-swagger-docs.sh Adding verify-federation-generated-swagger-docs.sh 2017-05-14 17:20:24 -07:00
verify-federation-openapi-spec.sh
verify-federation-swagger-spec.sh Adding verify-federation-swagger-spec.sh 2017-05-14 17:15:41 -07:00
verify-flags-underscore.py some small fix in verify-flags-underscore 2017-08-14 14:55:42 +08:00
verify-generated-device-plugin.sh bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
verify-generated-docs.sh Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00
verify-generated-files-remake.sh Add debugging to the codegen process 2017-08-25 14:08:42 -07:00
verify-generated-protobuf.sh Remove packages which aren't relied on by heapster anymore. 2017-08-12 23:50:22 +08:00
verify-generated-runtime.sh Update hack scripts 2017-06-09 10:13:34 +08:00
verify-generated-swagger-docs.sh Ignore .import-restrictions when checking against generated docs 2017-10-13 07:09:38 -04:00
verify-godep-licenses.sh
verify-godeps.sh Target godep script change verifications 2017-08-09 22:34:13 -04:00
verify-gofmt.sh Fixed the issue with formatting issues not being reported when verification fails. 2017-06-12 17:59:08 +02:00
verify-golint.sh Invert .linted_packages into .golint_failures. 2017-07-17 14:37:40 -07:00
verify-govet.sh Run hack/verify-govet.sh as part of verify make target 2017-06-21 11:10:25 -07:00
verify-import-boss.sh Fixup after k8s.io/{kube-gen -> code-generator} rename 2017-08-17 17:55:12 +02:00
verify-linkcheck.sh
verify-no-vendor-cycles.sh Bugfix: verify-no-vendor-cycles.sh detects wrong cycles 2017-08-01 21:09:53 -07:00
verify-openapi-spec.sh Add OpenAPI README file 2017-06-05 13:18:07 -07:00
verify-pkg-names.sh verify-pkg-names.sh: exclude generated informers 2017-10-04 16:53:13 +02:00
verify-readonly-packages.sh hack/*.sh: re-add staging dirs to verify+update scripts 2017-02-17 08:51:31 +01:00
verify-staging-godeps.sh Dockerize update-staging-godeps 2017-07-25 12:26:57 -07:00
verify-staging-imports.sh Rewrite staging import verifier in Go 2017-08-08 16:08:20 -07:00
verify-swagger-spec.sh
verify-symbols.sh spell check for test/* 2016-12-14 06:03:00 -08:00
verify-test-images.sh
verify-test-owners.sh Disable verify-test-owners.sh and make go vet more obvious 2016-12-21 11:44:04 -08:00