mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +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].
|
To use kind, you will need to [install docker].
|
||||||
Once you have docker running you can create a cluster with `kind create cluster`
|
Once you have docker running you can create a cluster with:
|
||||||
To delete your cluster use `kind delete cluster`
|
|
||||||
|
```console
|
||||||
|
kind create cluster
|
||||||
|
```
|
||||||
|
|
||||||
|
To delete your cluster use:
|
||||||
|
|
||||||
|
```console
|
||||||
|
kind delete cluster
|
||||||
|
```
|
||||||
|
|
||||||
<!--TODO(bentheelder): improve this part of the guide-->
|
<!--TODO(bentheelder): improve this part of the guide-->
|
||||||
To create a cluster from Kubernetes source:
|
To create a cluster from Kubernetes source:
|
||||||
- ensure that Kubernetes is cloned in `$(go env GOPATH)/src/k8s.io/kubernetes`
|
- 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
|
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`
|
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.
|
`kind: command not found` after installation.
|
||||||
|
|
||||||
To use kind, you will also need to [install docker].
|
To use kind, you will also need to [install docker].
|
||||||
Once you have docker running you can create a cluster with `kind create cluster`
|
Once you have docker running you can create a cluster with:
|
||||||
To delete your cluster use `kind delete cluster`
|
|
||||||
|
```
|
||||||
|
kind create cluster
|
||||||
|
```
|
||||||
|
|
||||||
|
To delete your cluster use:
|
||||||
|
|
||||||
|
```
|
||||||
|
kind delete cluster
|
||||||
|
```
|
||||||
|
|
||||||
<!--TODO(bentheelder): improve this part of the guide-->
|
<!--TODO(bentheelder): improve this part of the guide-->
|
||||||
To create a cluster from Kubernetes source:
|
To create a cluster from Kubernetes source:
|
||||||
|
|
||||||
- ensure that Kubernetes is cloned in `$(go env GOPATH)/src/k8s.io/kubernetes`
|
- 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
|
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`
|
file, for more usage see [the user guide][user guide] or run `kind [command] --help`
|
||||||
|
|||||||
Reference in New Issue
Block a user