Skip to content

Wire UpdatePodSandboxResources to Sandbox API#13118

Merged
samuelkarp merged 2 commits into
containerd:mainfrom
chrishenzie:cri-update-pod-sandbox
Mar 25, 2026
Merged

Wire UpdatePodSandboxResources to Sandbox API#13118
samuelkarp merged 2 commits into
containerd:mainfrom
chrishenzie:cri-update-pod-sandbox

Conversation

@chrishenzie

@chrishenzie chrishenzie commented Mar 24, 2026

Copy link
Copy Markdown
Member

Bridges the gap between the CRI UpdatePodSandboxResources endpoint and out-of-tree Sandbox Controllers, addressing previous design feedback (e.g., from #11406).

Adds a UpdateSandbox interface method on the CRI sandboxService wrapper which routes updates to the sandbox controller. Includes unit test coverage for pre-existing CRI handler behavior + new behavior calling UpdateSandbox.

Assisted-by: Antigravity

Wire UpdatePodSandboxResources to Sandbox API

Provides test coverage for existing UpdatePodSandboxResources behavior.

Assisted-by: Antigravity
Signed-off-by: Chris Henzie <chrishenzie@gmail.com>
Integrates CRI container resource updates with core Sandbox API plugin.
Delegates payload to out-of-tree controllers via UpdateSandbox API.
Gracefully tolerates ErrNotImplemented to preserve backwards
compatibility for legacy sandboxers.

Assisted-by: Antigravity
Signed-off-by: Chris Henzie <chrishenzie@gmail.com>
@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Mar 25, 2026
@samuelkarp samuelkarp added this pull request to the merge queue Mar 25, 2026
Merged via the queue into containerd:main with commit c4f7fa1 Mar 25, 2026
54 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Mar 25, 2026
@chrishenzie chrishenzie deleted the cri-update-pod-sandbox branch March 25, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants