mirror of https://github.com/knative/docs.git
Making Minikube language parallel with GKE install
This commit is contained in:
parent
88a8a19f47
commit
72fac77ac6
|
@ -1,4 +1,4 @@
|
|||
# Easy Install on Minikube
|
||||
# Knative Install on Minikube
|
||||
|
||||
This guide walks you through the installation of the latest version of
|
||||
[Knative Serving](https://github.com/knative/serving) using pre-built images and
|
||||
|
@ -22,7 +22,7 @@ you can create one using [Minikube](https://github.com/kubernetes/minikube).
|
|||
|
||||
## Creating a Kubernetes cluster
|
||||
|
||||
Once kubectl and Minikube are installed, create a cluster with version 1.10 or
|
||||
Once kubectl and Minikube are installed, create a cluster with version 1.10 or
|
||||
greater and your chosen VM driver:
|
||||
|
||||
For Linux use:
|
||||
|
@ -63,14 +63,18 @@ wget -O - https://storage.googleapis.com/knative-releases/latest/istio.yaml \
|
|||
kubectl label namespace default istio-injection=enabled
|
||||
```
|
||||
|
||||
Wait until each Istio component is running or completed (STATUS column shows
|
||||
'Running' or 'Completed'):
|
||||
Monitor the Istio components until all of the components show a `STATUS` of
|
||||
`Running` or `Completed`:
|
||||
|
||||
```shell
|
||||
kubectl get pods -n istio-system --watch
|
||||
kubectl get pods -n istio-system
|
||||
```
|
||||
|
||||
CTRL+C when it's done.
|
||||
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.
|
||||
|
||||
> 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.
|
||||
|
||||
## Installing Knative Serving
|
||||
|
||||
|
@ -85,15 +89,20 @@ provided `release-lite.yaml` release run:
|
|||
kubectl apply -f https://storage.googleapis.com/knative-releases/latest/release-lite.yaml
|
||||
```
|
||||
|
||||
Wait until all Knative components are running (STATUS column shows 'Running'):
|
||||
Monitor the Knative components, until all of the components show a `STATUS` of
|
||||
`Running`:
|
||||
|
||||
```shell
|
||||
kubectl get pods -n knative-serving --watch
|
||||
kubectl get pods -n knative-serving
|
||||
```
|
||||
|
||||
CTRL+C when it's done.
|
||||
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.
|
||||
|
||||
Now you can deploy your app/function to your newly created Knative cluster.
|
||||
> 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.
|
||||
|
||||
Now you can deploy an app to your newly created Knative cluster.
|
||||
|
||||
## Deploying an app
|
||||
|
||||
|
@ -109,7 +118,7 @@ head to the [sample apps](../serving/samples/README.md) repo.
|
|||
|
||||
## Cleaning up
|
||||
|
||||
Delete the Kubernetes cluster along with Knative, Istio and Primer sample app:
|
||||
Delete the Kubernetes cluster along with Knative, Istio, and any deployed apps:
|
||||
|
||||
```shell
|
||||
minikube delete
|
||||
|
|
Loading…
Reference in New Issue