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

Kubernetes support #359

Open
erikh opened this issue Jul 19, 2016 · 0 comments
Open

Kubernetes support #359

erikh opened this issue Jul 19, 2016 · 0 comments

Comments

@erikh
Copy link
Contributor

erikh commented Jul 19, 2016

I think this will require a rearchitecture of the volplugin.

I believe these interfaces are the key: https://gist.github.com/erikh/53c5b5d502d7f9f19932f20aa8803a61

This will allow volplugin to act as a high-level driver, providing high-level communication between docker/k8s and volplugin but not doing any direct work itself. This will be provided by the api library.

Since the apiserver's code for many things is ridiculously similar, we're also going to condense that. It will also implement these interfaces along with a docker and k8s version.

Methods that are not shared do not live in the interfaces, f.e. docker.Capabilities is a safe bet. I don't think in practice that this'll be terrible; almost all of the responses are static and don't even depend on any state.

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

1 participant