Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Implement kubernetes driver #763

Closed
glyn opened this issue Jun 7, 2019 · 5 comments · Fixed by #765
Closed

Implement kubernetes driver #763

glyn opened this issue Jun 7, 2019 · 5 comments · Fixed by #765

Comments

@glyn
Copy link
Contributor

glyn commented Jun 7, 2019

A kubernetes driver would run the invocation image in kubernetes, probably as some kind of job with cluster admin privileges.

Note that the image would not have access to a docker daemon.

This should provide a workaround for the problem of needing to patch ~/.kube/config for Docker Desktop. See #762 for context.

@radu-matei
Copy link
Member

We did start some efforts in #560 for Duffle, and https://github.com/deislabs/cnab-operator is an operator implementation that is very much in progress (and would really benefit from some contributions 😅)

@glyn
Copy link
Contributor Author

glyn commented Jun 7, 2019

Thanks @radu-matei! #560 is currently giving HTTP 500, but hopefully it will come back next week.

@radu-matei
Copy link
Member

Try https://github.com/deislabs/duffle/pull/560/files, this seems to work for me.

@jlegrone
Copy link
Member

jlegrone commented Jun 7, 2019

I've been working on a k8s driver implementation that leverages the Job object (this gives us free retry and timeout logic). I wasn't aware of #560, but I think what I have is at feature parity. Can this issue be assigned to me for now?

@radu-matei
Copy link
Member

@jlegrone - sure!
That being said, I'd like to further explore the choice to use a Job.

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

Successfully merging a pull request may close this issue.

3 participants