github.com/GoogleContainerTools/skaffold@v1.39.18/examples/README.md (about)

     1  # Examples
     2  
     3  Each of those examples can be tried with `skaffold dev`. For example:
     4  
     5  ```
     6  cd getting-started
     7  skaffold dev
     8  ```
     9  
    10  Read the [Quickstart](https://skaffold.dev/docs/quickstart/) for more detailed instructions.
    11  
    12  These examples are made to work with the latest release of Skaffold.
    13  
    14  If you are running Skaffold at HEAD or have built it from source, please use the examples at `integration/examples`.
    15  
    16  *Note for contributors*: If you wish to make changes to these examples, please edit the ones at `integration/examples`,
    17  as those will be synced on release.
    18  
    19  ## Deploying to a local cluster
    20  
    21  When deploying to a [local cluster](https://skaffold.dev/docs/environment/local-cluster/) such as minikube or Docker Desktop, no additional configuration step is required.
    22  
    23  ## Deploying to a remote cluster
    24  
    25  When deploying to a remote cluster you have to point Skaffold to your default image repository in one of the four ways:
    26  
    27  * flag: `skaffold dev --default-repo <myrepo>`
    28  * env var: `SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev`
    29  * global skaffold config (one time): `skaffold config set --global default-repo <myrepo>`
    30  * skaffold config for current kubectl context: `skaffold config set default-repo <myrepo>`
    31