Skaffold

Install

brew install skaffold

Setup

skaffold init --XXenableBuildpacksInit
# or 
skaffold init \
  -a '{"builder":"buildpacks","payload":{"path":"leeroy-app/Dockerfile"},"image":"gcr.io/k8s-skaffold/leeroy-app"}' \
  -a '{"builder":"buildpacks","payload":{"path":"leeroy-web/Dockerfile"},"image":"gcr.io/k8s-skaffold/leeroy-web","context":"path/to/context"}'

Use

skaffold dev --port-forward

Reference

Last updated