Update Knative-with-Minikube.md (#159)

Copy edits
This commit is contained in:
Peter Delaney 2018-07-18 09:45:31 -07:00 committed by Google Prow Robot
parent 41e2222b63
commit b0740b2922
1 changed files with 9 additions and 10 deletions

View File

@ -26,7 +26,7 @@ you can create one using [Minikube](https://github.com/kubernetes/minikube).
## Creating a Kubernetes cluster ## Creating a Kubernetes cluster
Once kubectl and Minikube are installed, create a cluster with version 1.10 or After kubectl and Minikube are installed, create a cluster with version 1.10 or
greater and your chosen VM driver: greater and your chosen VM driver:
For Linux use: For Linux use:
@ -78,17 +78,16 @@ It will take a few minutes for all the components to be up and running; you can
rerun the command to see the current status. rerun the command to see the current status.
> Note: Instead of rerunning the command, you can add `--watch` to the above > Note: Instead of rerunning the command, you can add `--watch` to the above
command to view the component's status updates in real time. Use CTRL + C to exit watch mode. command to view the component's status updates in real time. Use CTRL+C to exit watch mode.
## Installing Knative Serving ## Installing Knative Serving
Next, we will install [Knative Serving](https://github.com/knative/serving): Next, install [Knative Serving](https://github.com/knative/serving):
We are using the `https://storage.googleapis.com/knative-releases/latest/release-lite.yaml` Because you have limited resources available, use the
file which omits some of the monitoring components to reduce the memory used by `https://storage.googleapis.com/knative-releases/latest/release-lite.yaml`
the Knative components since you do have limited resources available. To use the file, which omits some of the monitoring components to reduce the memory used by
provided `release-lite.yaml` release run (We are changing the Knative components. To use the provided `release-lite.yaml` release, run:
`LoadBalancer` to `NodePort` for the `knative-ingress` service):
```shell ```shell
curl -L https://storage.googleapis.com/knative-releases/latest/release-lite.yaml \ curl -L https://storage.googleapis.com/knative-releases/latest/release-lite.yaml \
@ -96,7 +95,7 @@ curl -L https://storage.googleapis.com/knative-releases/latest/release-lite.yaml
| kubectl apply -f - | kubectl apply -f -
``` ```
Monitor the Knative components, until all of the components show a `STATUS` of Monitor the Knative components until all of the components show a `STATUS` of
`Running`: `Running`:
```shell ```shell
@ -107,7 +106,7 @@ Just as with the Istio components, it will take a few seconds for the Knative
components to be up and running; you can rerun the command to see the current status. components to be up and running; you can rerun the command to see the current status.
> Note: Instead of rerunning the command, you can add `--watch` to the above > Note: Instead of rerunning the command, you can add `--watch` to the above
command to view the component's status updates in real time. Use CTRL + C to exit watch mode. command to view the component's status updates in real time. Use CTRL+C to exit watch mode.
Now you can deploy an app to your newly created Knative cluster. Now you can deploy an app to your newly created Knative cluster.