forked from GoogleContainerTools/skaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a few more references to gcr.io/k8s-skaffold
Signed-off-by: David Gageot <[email protected]>
- Loading branch information
Showing
4 changed files
with
70 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
# Examples | ||
|
||
To run the examples, you either have to manually replace the image repositories in the examples from `gcr.io/k8s-skaffold` | ||
to yours or you can point Skaffold to your default image repository in one of the four ways: | ||
Each of those examples can be tried with `skaffold dev`. For example: | ||
|
||
* flag: `skaffold dev --default-repo <myrepo>` | ||
* env var: `SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev` | ||
* global skaffold config (one time): `skaffold config set --global default-repo <myrepo>` | ||
* skaffold config for current kubectl context: `skaffold config set default-repo <myrepo>` | ||
``` | ||
cd getting-started | ||
skaffold dev | ||
``` | ||
|
||
Read the [Quickstart](https://skaffold.dev/docs/quickstart/) for more detailed instructions. | ||
|
||
These examples are made to work with the latest release of Skaffold. | ||
|
||
If you are running Skaffold at HEAD or have built it from source, please use the examples at `integration/examples`. | ||
|
||
*Note for contributors*: If you wish to make changes to these examples, please edit the ones at `integration/examples`, | ||
as those will be synced on release. | ||
|
||
## Deploying to a local cluster | ||
|
||
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. | ||
|
||
## Deploying to a remote cluster | ||
|
||
When deploying to a remote cluster you have to point Skaffold to your default image repository in one of the four ways: | ||
|
||
* flag: `skaffold dev --default-repo <myrepo>` | ||
* env var: `SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev` | ||
* global skaffold config (one time): `skaffold config set --global default-repo <myrepo>` | ||
* skaffold config for current kubectl context: `skaffold config set default-repo <myrepo>` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
# Examples | ||
|
||
To run the examples, you either have to manually replace the image repositories in the examples from `gcr.io/k8s-skaffold` | ||
to yours or you can point Skaffold to your default image repository in one of the four ways: | ||
Each of those examples can be tried with `skaffold dev`. For example: | ||
|
||
* flag: `skaffold dev --default-repo <myrepo>` | ||
* env var: `SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev` | ||
* global skaffold config (one time): `skaffold config set --global default-repo <myrepo>` | ||
* skaffold config for current kubectl context: `skaffold config set default-repo <myrepo>` | ||
``` | ||
cd getting-started | ||
skaffold dev | ||
``` | ||
|
||
Read the [Quickstart](https://skaffold.dev/docs/quickstart/) for more detailed instructions. | ||
|
||
These examples are made to work with the latest release of Skaffold. | ||
|
||
If you are running Skaffold at HEAD or have built it from source, please use the examples at `integration/examples`. | ||
|
||
*Note for contributors*: If you wish to make changes to these examples, please edit the ones at `integration/examples`, | ||
as those will be synced on release. | ||
|
||
## Deploying to a local cluster | ||
|
||
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. | ||
|
||
## Deploying to a remote cluster | ||
|
||
When deploying to a remote cluster you have to point Skaffold to your default image repository in one of the four ways: | ||
|
||
* flag: `skaffold dev --default-repo <myrepo>` | ||
* env var: `SKAFFOLD_DEFAULT_REPO=<myrepo> skaffold dev` | ||
* global skaffold config (one time): `skaffold config set --global default-repo <myrepo>` | ||
* skaffold config for current kubectl context: `skaffold config set default-repo <myrepo>` | ||
|