3 ms·
We have a Docker[1] library which allows you to build and push Docker a container—you can plug that directly into the `image` field and it should work. I'm _gu
by antics 7y ago
We have a Docker[1] library which allows you to build and push Docker a container—you can plug that directly into the `image` field and it should work.
I'm _guessing_ that eventually `watch` will eventually make this more automated, but we don't have any specific plans for that, yet.
[1]: https://github.com/pulumi/pulumi-docker https://github.com/pulumi/pulumi-docker
- migueloller 7y agoI’ll look into this. What I think Tilt and Skaffold are doing is just setting up a persistent volume to a local directory and letting all the reloading stuff be handled by the end-user. As long as the persistent volume links the local files to the cluster it should be good to do.
- antics 7y agoYeah, Tilt has a couple of different ways of providing similar functionality. In one mode, they simply rebuild the container and ship update Kubernetes on each file modification. In another mode, they boot a dev container in the pod and then transparently sync the local FS content to the cluster, which means that "time to live" is the amount of time it takes to compile your app in the cluster. `watch` with the Docker library is a direct analog for the first, but we have no analog for the second.
- migueloller 7y agoGotcha, so things like hot-reloading wouldn’t work right now. Still, looks like y’all are going in the right direction. Thanks for all the details! One more question, is there a way to interop Pulumi with Skaffold or Tilt?