Tilt Commit of the Month: June 2019
Support More Kubernetes Clusters
Welcome to a new series of blog posts we’re calling Tilt Commit of the Month. Commit of the Month is a lightweight way to highlight work that goes on in the Tilt project that might fly under the radar otherwise.
We’re already cheating: this month we’re going to highlight a multiple commits, instead of just one. All of these commits are related to detecting and working better with different kinds of Kubernetes clusters.
- k8s: auto-detect microk8s registry
- docker: dynamically switch between local docker daemon and the in-cluster daemon
- engine: fix exec syncing on busybox
What they do
Combined, these changes improve Tilt support for KIND, microk8s, and minikube. On microk8s we now detect whether we should use a registry built in microk8s, or an external one. Finally
live_update on KIND clusters no longer results in full rebuilds.
Why they’re important
Aside from making Tilt work better on various Kubernetes clusters, these change also pave the way for us to run our integration tests across many different types of Kubernetes clusters, rather than just one. With this we’ll be better able to catch edge-cases that affect only certain clusters. Hooray for test coverage!