k3s/pkg/kubelet/rktshim
Kubernetes Submit Queue b9b875f0d7 Merge pull request #46105 from sjenning/update-conatiner-resource-cri
Automatic merge from submit-queue (batch tested with PRs 49488, 50407, 46105, 50456, 50258)

Add UpdateContainerResources method to CRI

This is first step toward support for opinionated cpu pinning for certain guaranteed pods.

In order to do this, the kubelet needs to be able to dynamically update the cpuset at the container level, which is managed by the container runtime.  Thus the kubelet needs a method to communicate over the CRI so the runtime can then modify the container cgroup.

This is used in the situation where a core is added or removed from the shared pool to become a exclusive core for a new G pod.  The cpuset for all containers in the shared pool will need to be updated to add or remove that core.

Opening this up now so we can start discussion.  The need for a change to the CRI might be unexpected.

@derekwaynecarr @vishh @ConnorDoyle 

```release-note
NONE
```
2017-08-11 14:14:00 -07:00
..
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS Update OWNERS approvers and reviewers: pkg/kubelet 2017-01-18 10:27:11 -08:00
app-interface.go add UpdateContainerResources function to CRI 2017-07-31 20:47:56 -05:00
doc.go
fake-app-interface.go add UpdateContainerResources function to CRI 2017-07-31 20:47:56 -05:00
imagestore.go Update CRI references 2017-06-09 10:16:40 +08:00
imagestore_test.go Update CRI references 2017-06-09 10:16:40 +08:00
pod-level-interface.go Update CRI references 2017-06-09 10:16:40 +08:00