Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sandbox] refactor controller interface #7981

Merged

Conversation

dmcgowan
Copy link
Member

Avoid using API types in containerd interface. Move local sandbox controller plugin under the plugins package.

@dmcgowan dmcgowan marked this pull request as draft January 20, 2023 02:21
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch 4 times, most recently from b3bf31a to 91b951d Compare January 25, 2023 19:36
@dmcgowan dmcgowan added this to the 1.7 milestone Jan 25, 2023
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch from 91b951d to 65bfae2 Compare January 25, 2023 20:13
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch from ea1ec75 to a1dc3ff Compare February 6, 2023 06:30
Update the sandbox controller interface to use local types rather than
using the API types.

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch from a1dc3ff to 54d498e Compare February 7, 2023 05:40
Add options to sandbox controller interface.
Update sandbox controller interface to fully utilize sandbox controller
interface.
Move grpc error conversion to service.

Signed-off-by: Derek McGowan <[email protected]>
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch from 54d498e to 3431471 Compare February 7, 2023 06:06
@dmcgowan dmcgowan force-pushed the sandbox-controller-interface-refactor branch from f3b3659 to b0e97c0 Compare February 7, 2023 19:06
@dmcgowan dmcgowan marked this pull request as ready for review February 7, 2023 20:08
@dmcgowan
Copy link
Member Author

dmcgowan commented Feb 7, 2023

Finally figured out and fixed the issue with the cleanup error. Now it uses multierror rather than checking for a non-nil empty object to signal there was an issue cleaning up. Marking as ready to review.

@mxpv
Copy link
Member

mxpv commented Feb 9, 2023

/test pull-containerd-sandboxed-node-e2e

1 similar comment
@dmcgowan
Copy link
Member Author

dmcgowan commented Feb 9, 2023

/test pull-containerd-sandboxed-node-e2e

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@fuweid fuweid merged commit 362ba2c into containerd:main Feb 11, 2023
@dmcgowan dmcgowan deleted the sandbox-controller-interface-refactor branch April 20, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

5 participants