Easy and repeatable Kubernetes development
open sourceApache-2.0self-hostablefree
Skaffold is a command-line tool from Google that runs the build, push and deploy loop for applications on Kubernetes. skaffold dev watches your source, rebuilds images (with Docker, Jib, Buildpacks, Bazel or ko), syncs files into running containers and redeploys with kubectl, Helm or Kustomize, streaming logs and forwarding ports as it goes; skaffold run and the render and apply commands use the same skaffold.yaml in CI/CD. It's client-side only, needing nothing installed in the cluster, works with local clusters like minikube or remote ones, and is built into Google's Cloud Code IDE plugins. It's written in Go under Apache-2.0.
Problems it solves
- every code change means rebuilding the image, pushing it and running kubectl apply by hand
- a fast inner dev loop for services running on Kubernetes, like hot reload
- use the same build and deploy config on my laptop and in our CI pipeline
- sync changed files into a running pod instead of rebuilding the container
- a new developer should be able to git clone and run the whole app on a local cluster with one command
- stream logs and forward ports from all my app's pods while I develop
Features
- skaffold dev: watch, rebuild and redeploy on every change
- builders: Docker, Jib, Buildpacks, Bazel, ko and custom scripts
- deployers: kubectl, Helm and Kustomize
- file sync into running containers
- image tagging policies, port forwarding and log streaming
- profiles, environment variables and flags for different environments
- render and apply commands for CI/CD
- client-side only: nothing to install in the cluster
- IDE support through Cloud Code
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Skaffold does.
