|
|
|
|
|
by dharmab
413 days ago
|
|
Our team switched from Docker Compose (without Kubernetes) to Tilt for a distributed systems development environment. (Think platform engineering work on a system that scales from zero to several hundred thousand instances). Our time to go from code change to testable, running code on our laptops went from about a minute to a couple of seconds, using some Tiltfile recipes to do automatic incremental recompilation on our host laptops as we edit source files, and live-reload the new artifacts into running Kubernetes containers. The reload happens so fast that we configured our environment to compile+deploy+run on save, and the new code is already running by the time you reach for the "run tests" button. I think if you told our team to go back to Docker Compose they'd revolt on the spot haha |
|
If I can run external dependencies in docker locally, I can setup my app to run entirely from my laptop. That's all docker-compose does, just runs dev deps like DBs and other services i'm not editing code of.
As far as code reloading goes, there is a million tools to do that already. Go already compiles locally much faster than seconds.
All that being said, why are people choosing to develop in containers/kubernetes?
Maybe apps that need to be more tightly integrated with kube would benefit from this?