[release-1.0] Add documentation about minikube quickstart (#4505)

* Remove quote about minikube

* Add documentation for minikube

* Link installation guide for minikube

* Remove trailing whitespaces

* Update README.md

* Apply suggestions from code review

Co-authored-by: Samia Nneji <snneji@vmware.com>

* Fix identation

Co-authored-by: Matthias Gubler <matthiasgubler@me.com>
Co-authored-by: Samia Nneji <snneji@vmware.com>
This commit is contained in:
Knative Prow Robot 2021-11-18 14:08:22 -08:00 committed by GitHub
parent 2c6da0f2e0
commit 4be588b052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 17 deletions

View File

@ -5,9 +5,9 @@
Before you can get started with a Knative Quickstart deployment you must install kind, the Kubernetes CLI, and the Knative CLI.
### Install Kind (Kubernetes in Docker)
### Prepare local Kubernetes cluster
You can use [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start){target=_blank} (Kubernetes in Docker) to run a local Kubernetes cluster with Docker container nodes.
You can use [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start){target=_blank} (Kubernetes in Docker) or [`minikube`](https://minikube.sigs.k8s.io/docs/start/){target=_blank} to run a local Kubernetes cluster with Docker container nodes.
### Install the Kubernetes CLI

View File

@ -38,22 +38,34 @@
The `quickstart` plugin completes the following functions:
1. **Checks if you have [`kind`](https://kind.sigs.k8s.io/docs/user/quick-start){target=_blank} installed,** and creates a cluster called `knative`.
1. **Installs Knative Serving with Kourier** as the default networking layer, and nip.io as the DNS.
1. **Installs Knative Eventing** and creates an in-memory Broker and Channel implementation.
1. **Checks if you have the selected Kubernetes instance installed,** and creates a cluster called `knative`.
2. **Installs Knative Serving with Kourier** as the default networking layer, and nip.io as the DNS.
3. **Installs Knative Eventing** and creates an in-memory Broker and Channel implementation.
!!! todo "Install Knative and Kubernetes on a local Docker Daemon using `kn quickstart`"
```bash
kn quickstart kind
```
??? bug "Having issues with Kind?"
We've found that some users (specifically Linux) may have trouble with Docker and, subsequently, Kind. Though this tutorial assumes you have Kind installed, you can easily follow along with a different installation.
!!! todo "Install Knative and Kubernetes locally"
=== "Using kind"
Install Knative and Kubernetes on a local Docker daemon by running:
```bash
kn quickstart kind
```
After the plugin is finished, verify you have a cluster called `knative`:
```bash
kind get clusters
```
=== "Using minikube"
Install Knative and Kubernetes in a minikube instance by running:
```bash
kn quickstart minikube
```
After the plugin is finished, verify you have a cluster called `knative`:
```bash
minikube profile list
```
We have provide an alternative Quickstart on `minikube` here: [https://github.com/csantanapr/knative-minikube](https://github.com/csantanapr/knative-minikube){_target="_blank"}
Installing may take a few minutes. After the plugin is finished, check to make sure you have a Cluster called `knative`
!!! success "Verify Installation"
```bash
kind get clusters
```