skaffold
Automate Kubernetes development workflows
TLDR
Initialize skaffold
SYNOPSIS
skaffold command [-f config] [options]
DESCRIPTION
Skaffold automates the Kubernetes development workflow by handling the build, push, and deploy cycle for containerized applications. The dev command watches source files for changes and automatically rebuilds images and redeploys to the cluster on each save, providing a rapid inner development loop.
The tool integrates with multiple build systems including Docker, Jib, and Cloud Native Buildpacks, and supports deployment via kubectl, Helm, and kustomize. Profiles allow customizing the pipeline for different environments such as development, staging, and production, each with different image registries, build configurations, and deployment targets.
Port forwarding automatically exposes deployed services on localhost, and the debug command configures remote debugging for supported languages.
PARAMETERS
init
Create config.dev
Continuous development.build
Build images.deploy
Deploy to cluster.run
Build and deploy once.delete
Remove deployment.debug
Debug mode.-f, --filename FILE
Config file.-p, --profile NAME
Use profile.-n, --namespace NS
Kubernetes namespace.
CAVEATS
Requires Kubernetes cluster. Docker or alternative builder needed. Learning curve for configuration.
HISTORY
Skaffold was created by Google for Kubernetes development. It simplifies the inner development loop for containerized applications.
