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

Consider OCI runtime plugin mechanism #25

Open
saschagrunert opened this issue Sep 8, 2020 · 2 comments
Open

Consider OCI runtime plugin mechanism #25

saschagrunert opened this issue Sep 8, 2020 · 2 comments

Comments

@saschagrunert
Copy link
Member

saschagrunert commented Sep 8, 2020

The idea is not only to support CLI based OCI runtimes but also provide an easy-to-use middle layer (maybe based on C bindings to be mostly language Independent). WDYT?

@Klaven
Copy link
Contributor

Klaven commented Sep 16, 2020

would it need to be a middle layer, or just something like ctor? when I hear "middle layer" I think of docker shim :)

@saschagrunert
Copy link
Member Author

Depends a bit on the question at which level we want to provide such an interface. Right now we build a Sandbox on top of a flexible Pod trait:
https://github.com/cri-o/cri/blob/29f6f7fce7bbc752052d1b70e897b785c02f38c0/src/sandbox/mod.rs#L48-L70

Being able to exchange it via a plugin mechanism rather than moving the code into this repo seems quite useful. OTOH we can also provide an API that users can build their own Kubernetes CRI binary (then only in Rust)…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants