Skip to content

Fix sandbox API when calling sandboxed shims#7684

Merged
fuweid merged 4 commits intocontainerd:mainfrom
mxpv:sb-runtime-fix
Nov 28, 2022
Merged

Fix sandbox API when calling sandboxed shims#7684
fuweid merged 4 commits intocontainerd:mainfrom
mxpv:sb-runtime-fix

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Nov 17, 2022

This PR fixes sandbox API so it can properly call sandboxed shims.
Also refactored and removed duplicated code from podsandbox package.

--

Added a few commits to further decouple sbserver from pause container (and left bunch of todos for the remaining work)

@mxpv mxpv added this to the 1.7 milestone Nov 17, 2022
@mxpv mxpv linked an issue Nov 17, 2022 that may be closed by this pull request
17 tasks
@mxpv mxpv added the area/cri Container Runtime Interface (CRI) label Nov 17, 2022
@mxpv mxpv removed a link to an issue Nov 17, 2022
17 tasks
@containerd containerd deleted a comment from k8s-ci-robot Nov 17, 2022
@fuweid fuweid requested a review from Burning1020 November 17, 2022 14:56
@mxpv
Copy link
Copy Markdown
Member Author

mxpv commented Nov 17, 2022

/test pull-containerd-sandboxed-node-e2e

Copy link
Copy Markdown
Member

@Burning1020 Burning1020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread pkg/cri/sbserver/container_create.go
mxpv added 4 commits November 22, 2022 17:39
Signed-off-by: Maksym Pavlenko <[email protected]>
All pause container object references must be removed
from sbserver. This is an implementation detail of
podsandbox package.

Added TODOs for remaining work.

Signed-off-by: Maksym Pavlenko <[email protected]>
@fuweid fuweid merged commit 6bfe6e3 into containerd:main Nov 28, 2022
@mxpv mxpv deleted the sb-runtime-fix branch November 28, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cri Container Runtime Interface (CRI)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants