Live data from Hacker News

Tilt – Local Kubernetes development with no stress

github.com

51–60 of 76 posts

Re: Tilt – Local Kubernetes development with no stress

#51
post #41

Earlier quoted context omitted.

Hi! Thanks for checking in on HN. I'm very interested in k8s productivity but had some trouble understanding what Tilt is actually doing--is it a replacement for minikube, hosted kubernetes, etc.? Is there an architecture diagram that shows what runs where?

There isn't an architecture diagram, and there should be. Thanks. Tilt replaces `docker build && kubectl apply` or `docker-compose`. It watches your files, updates automatically, and gives you a UI that shows you error so you don't have to spelunk with kubectl. It uses minikube or docker-for-desktop or a cloud k8s cluster (AKS, EKS, GKE, whatever). It's like skaffold or draft or garden. Does that help?

Can you explain how it's different from skaffold? I use that heavily.

Re: Tilt – Local Kubernetes development with no stress

#52
post #41

Earlier quoted context omitted.

Hi! Thanks for checking in on HN. I'm very interested in k8s productivity but had some trouble understanding what Tilt is actually doing--is it a replacement for minikube, hosted kubernetes, etc.? Is there an architecture diagram that shows what runs where?

There isn't an architecture diagram, and there should be. Thanks. Tilt replaces `docker build && kubectl apply` or `docker-compose`. It watches your files, updates automatically, and gives you a UI that shows you error so you don't have to spelunk with kubectl. It uses minikube or docker-for-desktop or a cloud k8s cluster (AKS, EKS, GKE, whatever). It's like skaffold or draft or garden. Does that help?

How is that different from Skaffold or Draft?

Re: Tilt – Local Kubernetes development with no stress

#53
post #41

Earlier quoted context omitted.

Hi! Thanks for checking in on HN. I'm very interested in k8s productivity but had some trouble understanding what Tilt is actually doing--is it a replacement for minikube, hosted kubernetes, etc.? Is there an architecture diagram that shows what runs where?

There isn't an architecture diagram, and there should be. Thanks. Tilt replaces `docker build && kubectl apply` or `docker-compose`. It watches your files, updates automatically, and gives you a UI that shows you error so you don't have to spelunk with kubectl. It uses minikube or docker-for-desktop or a cloud k8s cluster (AKS, EKS, GKE, whatever). It's like skaffold or draft or garden. Does that help?

Got it. So I bring the k8s and tilt keeps things refreshed as I'm making changes. Thanks!

Re: Tilt – Local Kubernetes development with no stress

#54
post #39
post #30

Earlier quoted context omitted.

YAML, especially how it's used in k8s, is terrible. Writing it by hand is mind-numbingly toilful and extremely error prone, and templating YAML with Go (like Helm does) is a travesty. The most sensible approach I've seen is to use jsonnet+kubecfg. This lets me use a somewhat sane, composable, turing complete language that spits out a tree of k8s objects. I can use as much or little repeated definitions (or abstractio…

I'd also point out pulumi. It is a service, but it solves a lot of trouble when dealing with k8s configuration, and you have a real language to to create your definitions...

Being written in Node.js and running in an aaS model (unless you go for the call-us enterprise pricing), Pulumi unfortunately gets scratched off my list of software I want to use for provisioning production.

Re: Tilt – Local Kubernetes development with no stress

#55
post #30

Earlier quoted context omitted.

YAML, especially how it's used in k8s, is terrible. Writing it by hand is mind-numbingly toilful and extremely error prone, and templating YAML with Go (like Helm does) is a travesty. The most sensible approach I've seen is to use jsonnet+kubecfg. This lets me use a somewhat sane, composable, turing complete language that spits out a tree of k8s objects. I can use as much or little repeated definitions (or abstractio…

I don't see how Starlark is better... Does it validate what you write somehow - in a way that couldn't be done by validating a YAML?

I don't understand, I'm not talking about Starlark..?

Re: Tilt – Local Kubernetes development with no stress

#56
post #41

Earlier quoted context omitted.

There isn't an architecture diagram, and there should be. Thanks. Tilt replaces `docker build && kubectl apply` or `docker-compose`. It watches your files, updates automatically, and gives you a UI that shows you error so you don't have to spelunk with kubectl. It uses minikube or docker-for-desktop or a cloud k8s cluster (AKS, EKS, GKE, whatever). It's like skaffold or draft or garden. Does that help?

Does it allow you to replace the `docker build` step? Currently we use Nix's buildLayeredImage[0] to build our images and some custom machinery to generate our Kubernetes definitions from this, but I really like Tilt's status TUI. [0]: https://grahamc.com/blog/nix-and-layered-docker-images

We don't yet, but we're considering it. If you email me (dan at windmill dot engineering) I'd love to hear more of how you use it.

Re: Tilt – Local Kubernetes development with no stress

#57
post #41

Earlier quoted context omitted.

There isn't an architecture diagram, and there should be. Thanks. Tilt replaces `docker build && kubectl apply` or `docker-compose`. It watches your files, updates automatically, and gives you a UI that shows you error so you don't have to spelunk with kubectl. It uses minikube or docker-for-desktop or a cloud k8s cluster (AKS, EKS, GKE, whatever). It's like skaffold or draft or garden. Does that help?

Can you explain how it's different from skaffold? I use that heavily.

It's a lot like skaffold. Main improvements (for now): ) a better UI that keeps errors on-screen. Check out our demo video: https://www.youtube.com/watch?v=MGeUUmdtdKA ) fast_build allows you to do iterative container builds

If you use skaffold for local dev, a Tiltfile will take 10 minutes to write. Email me at dan at windmill dot engineering and we can pair to get you going. You're the user who would benefit from Tilt immediately.

Re: Tilt – Local Kubernetes development with no stress

#59
post #31

Earlier quoted context omitted.

Hey, I'm CEO of Tilt. Thanks for the feedback. The problem this solves is that distsys devs don't get enough feedback. You say you use docker-compose. Compared to docker-compose, Tilt has two advantages: 1) It updates the services as you edit them 2) Its UI makes it easy to see where errors are occurring, without you having to play 20 questions on the command-line or worry about things scrolling off-screen. The Tiltf…

> There is a landing page at https://tilt.build which has more of the "why Tilt". As a tangential by-the-way, I notice you're based in NYC. Of interest, Googlers working on Knative Build (hi Jason!) and Pivots working on Cloud Native Buildpacks (including me) are based in NYC also.

Dan himself used to work at Google NYC...

Re: Tilt – Local Kubernetes development with no stress

#60
post #31

I think the docs kind of misses what problem it solves and how it solves it. I do all the local stuff with docker-compose while using the same images for k8s deployments, how does this help me? Does this aim to replace docker-compose with k8s, or is this just for testing k8s resource changes in realtime, or is it testing your local k8s resource definitions against a remote cluster? Obviously this is useful for some p…

Hey, I'm CEO of Tilt. Thanks for the feedback. The problem this solves is that distsys devs don't get enough feedback. You say you use docker-compose. Compared to docker-compose, Tilt has two advantages: 1) It updates the services as you edit them 2) Its UI makes it easy to see where errors are occurring, without you having to play 20 questions on the command-line or worry about things scrolling off-screen. The Tiltf…

> (Many teams don't just use yaml files, but generate them, so Tilt has to be able to do that, too.)

Tell me more about this? I have my own helm like product and I had issues getting that to work with skaffold.

Post reply on HN