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?
Tilt – Local Kubernetes development with no stress
51–60 of 76 posts
Re: Tilt – Local Kubernetes development with no stress
#52Earlier 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?
Re: Tilt – Local Kubernetes development with no stress
#53Earlier 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?
Re: Tilt – Local Kubernetes development with no stress
#54Earlier 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...
Re: Tilt – Local Kubernetes development with no stress
#55Earlier 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?
Re: Tilt – Local Kubernetes development with no stress
#56Earlier 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
Re: Tilt – Local Kubernetes development with no stress
#57Earlier 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.
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
#58Re: Tilt – Local Kubernetes development with no stress
#59Earlier 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.
Re: Tilt – Local Kubernetes development with no stress
#60I 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…
Tell me more about this? I have my own helm like product and I had issues getting that to work with skaffold.