mirror of https://github.com/knative/docs.git
Updates to clarify install instructions (#318)
This commit is contained in:
parent
435dfd7c87
commit
1a6bffa742
|
@ -14,12 +14,14 @@ specifications for Knative on Google Cloud Platform.
|
|||
This guide assumes you are using bash in a Mac or Linux environment; some
|
||||
commands will need to be adjusted for use in a Windows environment.
|
||||
|
||||
### Installing the Google Cloud SDK
|
||||
### Installing the Google Cloud SDK and `kubectl`
|
||||
|
||||
1. If you already have `kubectl`, run `kubectl version` to check your client version.
|
||||
|
||||
1. If you already have `gcloud` installed with the `kubectl` component later than
|
||||
v1.10, you can skip these steps.
|
||||
1. If you already have `gcloud` installed with `kubectl` version 1.10 or newer,
|
||||
you can skip these steps.
|
||||
> Tip: To check which version of `kubectl` you have installed, enter:
|
||||
```
|
||||
kubectl version
|
||||
```
|
||||
|
||||
1. Download and install the `gcloud` command line tool:
|
||||
https://cloud.google.com/sdk/install
|
||||
|
@ -137,22 +139,19 @@ rerun the command to see the current status.
|
|||
|
||||
## Installing Knative components
|
||||
|
||||
You have the option to install and use only the Knative components that you
|
||||
want. You can install only the component of Knative if you need that
|
||||
functionality, for example Knative serving is not required to create and run
|
||||
builds.
|
||||
You can install the Knative Serving and Build components together, or Build on its own.
|
||||
|
||||
### Installing Knative Serving
|
||||
### Installing Knative Serving and Build components
|
||||
|
||||
1. Run the `kubectl apply` command to install
|
||||
[Knative Serving](https://github.com/knative/serving) and its dependencies:
|
||||
1. Run the `kubectl apply` command to install Knative and its dependencies:
|
||||
```bash
|
||||
kubectl apply -f https://github.com/knative/serving/releases/download/v0.1.0/release.yaml
|
||||
```
|
||||
1. Monitor the Knative serving components until all of the components show a
|
||||
1. Monitor the Knative components until all of the components show a
|
||||
`STATUS` of `Running`:
|
||||
```bash
|
||||
kubectl get pods -n knative-serving
|
||||
kubectl get pods -n knative-build
|
||||
```
|
||||
|
||||
### Installing Knative Build
|
||||
|
@ -178,7 +177,7 @@ the current status.
|
|||
You are now ready to deploy an app or create a build in your new Knative
|
||||
cluster.
|
||||
|
||||
## Deploying apps or builds
|
||||
## What's next
|
||||
|
||||
Now that your cluster has Knative installed, you're ready to deploy an app or
|
||||
create a build.
|
||||
|
@ -193,8 +192,8 @@ for getting started:
|
|||
* You can view the available [sample apps](../serving/samples/README.md) and
|
||||
deploy one of your choosing.
|
||||
|
||||
* To get started by creating a build, see
|
||||
[Creating a simple Knative Build](../build/creating-builds.md)
|
||||
* You can follow the step-by-step
|
||||
[Creating a simple Knative Build](../build/creating-builds.md) guide.
|
||||
|
||||
## Cleaning up
|
||||
|
||||
|
|
Loading…
Reference in New Issue