-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add CRI Service plugin type #9681
Conversation
Skipping CI for Draft Pull Request. |
/test all |
bc20433
to
1363b12
Compare
/test all |
@@ -25,13 +26,13 @@ import ( | |||
"github.com/containerd/plugin/registry" | |||
|
|||
containerd "github.com/containerd/containerd/v2/client" | |||
srvconfig "github.com/containerd/containerd/v2/cmd/containerd/server/config" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this felt a tad wrong ... importing from cmd/containerd
into here. but we have done this elsewhere so it's ok.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably safely move that config package out from there. It got moved as a subpackage but considering it is our main configuration object, it could find a better home.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll move the configuration version out into the version package in a follow up. That's only thing I saw being imported from config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1363b12
to
d4ac631
Compare
Thanks @henry118 , updated |
592477c
to
74ba19f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Create new plugin type for CRI runtime and image services. Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
74ba19f
to
fecb216
Compare
c8c0794
to
5816c89
Compare
Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
5816c89
to
64b4778
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This seems a huge breaking change |
Now that the CRI image configuration is split out from the runtime configuration, there is no need to enforce plugin order between the images and runtime. Without the need for order, they can be more cleanly organized as a runtime and images plugins both of type CRI Image Service. This is a cleaner alternative to the CRI base plugin, which (mis)used the internal plugin type only to hold configuration.