Skip to content

Implement new UpdatePodSandboxResources CRI method #11339

@tallclair

Description

@tallclair

What is the problem you're trying to solve

Pod sandbox cgroups are managed by the Kubelet, but the pod sandbox resources are still passed through to the RunPodSandbox request. With the new InPlacePodVerticalScaling (pod resize) feature, these resources are now mutable. To support NRI plugins that need to know the pod sandbox resources, we're adding a new UpdatePodSandboxResources informational CRI call for the purpose of passing the information through to NRI.

Describe the solution you'd like

Kubernetes KEP: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/1287-in-place-update-pod-resources#cri-changes
Kubernetes CRI PR: kubernetes/kubernetes#128123

Additional context

Per https://www.kubernetes.dev/docs/code/cri-api-version-skew-policy/#feature-development, we should have a draft PR implementing the new CRI call in both Kubernetes and containerd before merging the CRI API.

Metadata

Metadata

Assignees

Labels

area/criContainer Runtime Interface (CRI)area/nriNode Resource Interface (NRI)kind/feature

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions