@@ -23,8 +23,8 @@ approvers:
2323 - " @mwielgus"
2424editor : TBD
2525creation-date : 2018-11-06
26- last-updated : 2019-10-25
27- status : implementable
26+ last-updated : 2018-11-06
27+ status : provisional
2828see-also :
2929replaces :
3030superseded-by :
@@ -168,12 +168,6 @@ Kubelet calls UpdateContainerResources CRI API which currently takes
168168but not for Windows. This parameter changes to * runtimeapi.ContainerResources* ,
169169that is runtime agnostic, and will contain platform-specific information.
170170
171- Additionally, GetContainerResources CRI API is introduced that allows Kubelet
172- to query currently configured CPU and memory limits for a container.
173-
174- These CRI changes are a separate effort that does not affect the design
175- proposed in this KEP.
176-
177171### Kubelet and API Server Interaction
178172
179173When a new Pod is created, Scheduler is responsible for selecting a suitable
@@ -290,16 +284,6 @@ updates resource limit for the Pod and its Containers in the following manner:
290284In all the above cases, Kubelet applies Container resource limit decreases
291285before applying limit increases.
292286
293- #### Container resource limit update failure handling
294-
295- If multiple Containers in a Pod are being updated, and UpdateContainerResources
296- CRI API fails for any of the containers, Kubelet will backoff and retry at a
297- later time. Kubelet does not attempt to update limits for containers that are
298- lined up for update after the failing container. This ensures that sum of the
299- container limits does not exceed Pod-level cgroup limit at any point. Once all
300- the container limits have been successfully updated, Kubelet updates the Pod's
301- Status.ContainerStatuses[ i] .Resources to match the desired limit values.
302-
303287#### Notes
304288
305289* If CPU Manager policy for a Node is set to 'static', then only integral
0 commit comments