• Kubernetes Submit Queue's avatar
    Merge pull request #60318 from jiayingz/api-change · e31c8a22
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 59159, 60318, 60079, 59371, 57415). 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>.
    
    Made a couple API changes to deviceplugin/v1beta1 to avoid future
    
    incompatible API changes:
    - Add GetDevicePluginOptions rpc call. This is needed when we switch
      from Registration service to probe-based plugin watcher.
    - Change AllocateRequest and AllocateResponse to allow device requests
      from multiple containers in a pod. Currently only made mechanical
      change on the devicemanager and test code to cope with the API but
      still issues an Allocate call per container. We can modify the
      devicemanager in 1.11 to issue a single Allocate call per pod.
      The change will also facilitate incremental API change to communicate
      pod level information through Allocate rpc if there is such future
      need.
    
    
    
    **What this PR does / why we need it**:
    Made a couple API changes to deviceplugin/v1beta1 to avoid future incompatible API changes.
    
    **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/59370
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    
    ```
    e31c8a22
Name
Last commit
Last update
..
api Loading commit data...
apis Loading commit data...
auth Loading commit data...
capabilities Loading commit data...
client Loading commit data...
cloudprovider Loading commit data...
controller Loading commit data...
credentialprovider Loading commit data...
features Loading commit data...
fieldpath Loading commit data...
generated Loading commit data...
kubeapiserver Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
master Loading commit data...
printers Loading commit data...
probe Loading commit data...
proxy Loading commit data...
quota Loading commit data...
registry Loading commit data...
routes Loading commit data...
scheduler Loading commit data...
security Loading commit data...
securitycontext Loading commit data...
serviceaccount Loading commit data...
ssh Loading commit data...
util Loading commit data...
version Loading commit data...
volume Loading commit data...
watch/json Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...