Merge pull request #1044 from BenTheElder/pr807

carry PR 807
This commit is contained in:
Benjamin Elder
2019-11-01 07:41:09 -07:00
committed by GitHub
2 changed files with 33 additions and 6 deletions

View File

@@ -53,13 +53,26 @@ Move-Item .\kind-windows-amd64.exe c:\some-dir-in-your-PATH\kind.exe
```
To use kind, you will need to [install docker].
Once you have docker running you can create a cluster with `kind create cluster`
To delete your cluster use `kind delete cluster`
Once you have docker running you can create a cluster with:
```console
kind create cluster
```
To delete your cluster use:
```console
kind delete cluster
```
<!--TODO(bentheelder): improve this part of the guide-->
To create a cluster from Kubernetes source:
- ensure that Kubernetes is cloned in `$(go env GOPATH)/src/k8s.io/kubernetes`
- build a node image and create a cluster with `kind build node-image && kind create cluster --image kindest/node:latest`
- build a node image and create a cluster with:
```console
kind build node-image
kind create cluster --image kindest/node:latest
```
Multi-node clusters and other advanced features may be configured with a config
file, for more usage see [the docs][user guide] or run `kind [command] --help`

View File

@@ -28,14 +28,28 @@ shown [here](https://golang.org/doc/code.html#GOPATH) if you encounter the error
`kind: command not found` after installation.
To use kind, you will also need to [install docker].
Once you have docker running you can create a cluster with `kind create cluster`
To delete your cluster use `kind delete cluster`
Once you have docker running you can create a cluster with:
```
kind create cluster
```
To delete your cluster use:
```
kind delete cluster
```
<!--TODO(bentheelder): improve this part of the guide-->
To create a cluster from Kubernetes source:
- ensure that Kubernetes is cloned in `$(go env GOPATH)/src/k8s.io/kubernetes`
- build a node image and create a cluster with `kind build node-image && kind create cluster --image kindest/node:latest`
- build a node image and create a cluster with
```
kind build node-image
kind create cluster --image kindest/node:latest
```
Multi-node clusters and other advanced features may be configured with a config
file, for more usage see [the user guide][user guide] or run `kind [command] --help`