mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-11-30 23:16:04 +07:00
19
README.md
19
README.md
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user