BuildKit CLI for kubectl: A New Way to Build Container Images
summary
A kubectl plugin uses BuildKit to build Dockerfiles inside a Kubernetes cluster, launching a builder pod that auto-detects containerd and dockerd and mounts the node runtime so built images are available immediately on the cluster without pushing to a registry. The CLI replicates the final image to other nodes (or skips replication if pushing to a registry), supports multi-arch builds today with registry pushes required, and runs on Kubernetes 1.14+; privileged builders are intended for dev use, not production.
AI-written summary · about
chapters (9)
- 0:00Project introduction
- 1:00Live demo: first build
- 2:37Technical architecture
- 4:38Motivation for BuildKit
- 6:32Live demo: inner loop
- 12:52Customizing the builder
- 15:14Multi-architecture builds
- 17:25Compatibility and support
- 19:56Call to action and conclusion
related talks
35mBuildKit: A Modern Builder Toolkit on Top of containerd
29mBuilding Images Efficiently and Securely on Kubernetes with BuildKit
35mBuilding Container Images In Kubernetes: It’s Been a Journey!
43mBuilding Docker Images on Kubernetes: A Long Journey!
32mBringing Buildpacks to Kubernetes
22mMaking Kubernetes How We Build Things
30mClosing the Developer Experience Gap of your Container Platforms
35mIntro: Cloud Native Buildpacks
