Skip to content

Support sandbox shutdown in shim runtimes#7792

Merged
fuweid merged 2 commits intocontainerd:mainfrom
mxpv:sb-shutdown
Dec 15, 2022
Merged

Support sandbox shutdown in shim runtimes#7792
fuweid merged 2 commits intocontainerd:mainfrom
mxpv:sb-shutdown

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Dec 9, 2022

Sandbox API offers Delete call, but there is no corresponding endpoint of shim side. This PR updates shim sandbox protos to allow runtimes implement it's own logic for final cleanup and to shutdown shim instance.

Signed-off-by: Maksym Pavlenko <[email protected]>
@mxpv
Copy link
Copy Markdown
Member Author

mxpv commented Dec 9, 2022

/test pull-containerd-sandboxed-node-e2e

@mxpv mxpv added this to the 1.7 milestone Dec 10, 2022
Comment thread services/sandbox/controller_service.go Outdated
Copy link
Copy Markdown
Member

@dcantah dcantah left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Maksym Pavlenko <[email protected]>
@fuweid fuweid merged commit 12f30e6 into containerd:main Dec 15, 2022
@mxpv mxpv deleted the sb-shutdown branch February 2, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants