Skip to content

Commit

Permalink
Help users who want to develop locally
Browse files Browse the repository at this point in the history
Mention that one can run a local Docker registry and that Docker for Desktop works. Also call out the requirement on Kubernetes 1.11 or later.
  • Loading branch information
a-roberts authored and knative-prow-robot committed Jan 29, 2019
1 parent 7b4b2ed commit 4518e70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ You must install these tools:
For development.
1. [`kubectl`](https://kubernetes.io/docs/tasks/tools/install-kubectl/): For
interacting with your kube cluster

Your [`$GOPATH`] setting is critical for `ko apply` to function properly: a successful run will typically involve building pushing images instead of only configuring Kubernetes resources.

## Kubernetes cluster

Docker for Desktop using an edge version has been proven to work for both developing and running Knative. Your Kubernetes version must be 1.11 or later.

To setup a cluster with GKE:

1. [Install required tools and setup GCP project](https://github.com/knative/docs/blob/master/install/Knative-with-GKE.md#before-you-begin)
Expand All @@ -78,7 +82,7 @@ environment variables (we recommend adding them to your `.bashrc`):
1. `$GOPATH/bin` on `PATH`: This is so that tooling installed via `go get` will
work properly.
1. `KO_DOCKER_REPO`: The docker repository to which developer images should be
pushed (e.g. `gcr.io/[gcloud-project]`).
pushed (e.g. `gcr.io/[gcloud-project]`). You can also run a local registry and set `KO_DOCKER_REPO` to reference the registry (e.g. at `localhost:5000/myknativeimages`).

`.bashrc` example:

Expand Down

0 comments on commit 4518e70

Please sign in to comment.