k3s/pkg/kubelet/apis
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
..
cri Add extra information in status functions in CRI. 2017-10-17 04:11:34 +00:00
deviceplugin bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
kubeletconfig Move --enable-cusom-metrics to KubeletFlags and mark it deprecated 2017-10-18 10:28:07 -07:00
stats/v1alpha1 update BUILD files 2017-10-15 18:18:13 -07:00
BUILD bump device plugin version to v1alpha2 to reflect the change to AllocateResponce API 2017-10-19 10:35:24 -07:00
well_known_annotations.go
well_known_labels.go Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00