k3s/cmd/kubelet/app
Kubernetes Submit Queue ed479163fa Merge pull request #42116 from vishh/gpu-experimental-support
Automatic merge from submit-queue

Extend experimental support to multiple Nvidia GPUs

Extended from #28216

```release-note
`--experimental-nvidia-gpus` flag is **replaced** by `Accelerators` alpha feature gate along with  support for multiple Nvidia GPUs. 
To use GPUs, pass `Accelerators=true` as part of `--feature-gates` flag.
Works only with Docker runtime.
```

1. Automated testing for this PR is not possible since creation of clusters with GPUs isn't supported yet in GCP.
1. To test this PR locally, use the node e2e.
```shell
TEST_ARGS='--feature-gates=DynamicKubeletConfig=true' FOCUS=GPU SKIP="" make test-e2e-node
```

TODO:

- [x] Run manual tests
- [x] Add node e2e
- [x] Add unit tests for GPU manager (< 100% coverage)
- [ ] Add unit tests in kubelet package
2017-03-01 04:52:50 -08:00
..
options use feature gate instead of flag to control support for GPUs 2017-02-28 13:42:07 -08:00
BUILD Portworx Volume Driver in Kubernetes 2017-02-28 23:24:56 +00:00
OWNERS Update OWNERS 2017-01-18 15:19:06 -08:00
auth.go install authentication.k8s.io/v1, add tests 2017-02-07 01:44:56 -05:00
bootstrap.go kubeadm: moved import to client-go, where possible 2017-02-15 13:06:15 -08:00
bootstrap_test.go find and replace 2017-01-20 08:04:53 -05:00
plugins.go Portworx Volume Driver in Kubernetes 2017-02-28 23:24:56 +00:00
server.go add support for node allocatable phase 2 to kubelet 2017-02-27 21:24:44 -08:00
server_linux.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
server_test.go add support for node allocatable phase 2 to kubelet 2017-02-27 21:24:44 -08:00
server_unsupported.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00