See the Github Examples page for examples.

As we have gcr.io/k8s-skaffold in our image names, to run the examples, you have two options:

  1. manually replace the image repositories in skaffold.yaml from gcr.io/k8s-skaffold to yours
  2. you can point skaffold to your default image repository in one of the four ways:
    1. flag: skaffold dev --default-repo <myrepo>
    2. env var: SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev
    3. global skaffold config (one time): skaffold config set --global default-repo <myrepo>
    4. skaffold config for current kubectl context: skaffold config set default-repo <myrepo>