kubernetes/pkg/kubelet/cm/devicemanager
Kubernetes Submit Queue d017bebf6b
Merge pull request #67145 from jiayingz/reboot-fix
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>.

Fail container start if its requested device plugin resource is unknown.

With the change, Kubelet device manager now checks whether it has cached option state for the requested device plugin resource to make sure the resource is in ready state when we start the container.



**What this PR does / why we need it**:

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/kubernetes/kubernetes/issues/67107

**Special notes for your reviewer**:

**Release note**:

```release-note
Fail container start if its requested device plugin resource hasn't registered after Kubelet restart.
```
2018-08-21 01:48:54 -07:00
..
checkpoint Node-level Checkpointing manager 2018-04-16 00:19:42 -04:00
BUILD Use probe based plugin discovery mechanism in device manager 2018-07-17 04:02:31 -04:00
device_plugin_stub.go Use probe based plugin discovery mechanism in device manager 2018-07-17 04:02:31 -04:00
endpoint_test.go While reviewing devicemanager code, found 2018-07-29 21:07:14 -07:00
endpoint.go While reviewing devicemanager code, found 2018-07-29 21:07:14 -07:00
manager_stub.go While reviewing devicemanager code, found 2018-07-29 21:07:14 -07:00
manager_test.go Fail container start if its requested device plugin resource doesn't 2018-08-08 13:11:36 -07:00
manager.go Merge pull request #67145 from jiayingz/reboot-fix 2018-08-21 01:48:54 -07:00
OWNERS
pod_devices.go Make 'pod' package to use unified checkpointManager 2018-04-16 01:30:20 -04:00
types.go Merge pull request #58058 from tianshapjq/cleanup-useless-var-deviceplugin/types.go 2018-08-06 16:33:54 -07:00