Tilt: Proposal: Support K3D

Created on 7 Aug 2019  路  4Comments  路  Source: tilt-dev/tilt

Rancher's k3d project recently introduced a similar cli feature to KIND for syncing container images to the "in docker" k8s instance. You can see this in the v1.3.0 release here: https://github.com/rancher/k3d/releases/tag/v1.3.0.

Would a similar set of commits to https://github.com/windmilleng/tilt/commit/831ddd8bd7ce9c108de16088d5a160a953fd4561?diff=split still be feasible to provide support for pushing images to k3d?

enhancement

Most helpful comment

One side note: the strategy that KIND and k3d currently use for syncing images is to dump the image on disk and import it. This is good for local dev but not amazing.

We still tend to recommend things like docker-for-mac or microk8s. They run an image registry in-cluster, and the registry protocol means that you only push the layers that change.

Just want to set expectations. We're hoping that KIND and k3d add easier in-cluster registry management.

All 4 comments

Sure! Is this something you were interested in contributing? Should be pretty straightforward

One side note: the strategy that KIND and k3d currently use for syncing images is to dump the image on disk and import it. This is good for local dev but not amazing.

We still tend to recommend things like docker-for-mac or microk8s. They run an image registry in-cluster, and the registry protocol means that you only push the layers that change.

Just want to set expectations. We're hoping that KIND and k3d add easier in-cluster registry management.

(basically, if you set your k3d cluster with the script provided there, Tilt will find the local registry and use it for pushing. This is much faster than syncing the images with the CLI)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozburo picture ozburo  路  7Comments

david-martyn-ford picture david-martyn-ford  路  4Comments

nicks picture nicks  路  3Comments

ivansantosz picture ivansantosz  路  7Comments

bandrade picture bandrade  路  5Comments