-
Notifications
You must be signed in to change notification settings - Fork 159
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
feasibility-research(doc): Remote build with buildkit or kaniko #510
Comments
/assign |
It is hard to support envd with kaniko since it does not support dockerfile/1.2.0 or 1.3.0 now. |
Currently, we support context in #512 . In the next PR we should support kube-pod builder in the context. |
We need to decide if we should use kubernetes client-go or controller-runtime client to create the buildkitd pod on Kubernetes. I think the client in controller-runtime wraps client-go a lot and it should be easier to use. WDYT @hezhizhen @knight42 |
@gaocegege Yeah the client provided by The only limitation came to my mind is that if we need some functionalities more than objects' CRUD, such as executing a command in container, streaming container logs, port-forwarding etc, then we could only use client-go. |
Thanks for the explanation! forget that the controller-runtime client does not support sub-resources. I think we should use client-go directly. |
Hi, I've been working on something similar recently.I also think it is possible to use client-go directly. |
Yep. Currently, we support communicating with the buildkit on the Kubernetes with the help of context:
Next step is to support envd up with the help of client-go. |
It this issued related to #556 |
Description
We should investigate how to build envd images remotely with buildkit or kaniko. And we should document it.
CI/CD systems to support:
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: