• Kubernetes Submit Queue's avatar
    Merge pull request #46105 from sjenning/update-conatiner-resource-cri · b9b875f0
    Kubernetes Submit Queue authored
    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
    ```
    b9b875f0
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
app-interface.go Loading commit data...
doc.go Loading commit data...
fake-app-interface.go Loading commit data...
imagestore.go Loading commit data...
imagestore_test.go Loading commit data...
pod-level-interface.go Loading commit data...