mirror of https://github.com/CrimsonTome/tldr.git
22 lines
585 B
Markdown
22 lines
585 B
Markdown
|
# kind
|
||
|
|
||
|
> Tool for running local Kubernetes clusters using Docker container "nodes".
|
||
|
> Designed for testing Kubernetes itself, but may be used for local development or continuous integration.
|
||
|
> More information: <https://github.com/kubernetes-sigs/kind>.
|
||
|
|
||
|
- Create a local Kubernetes cluster:
|
||
|
|
||
|
`kind create cluster --name {{cluster-name}}`
|
||
|
|
||
|
- Delete one or more clusters:
|
||
|
|
||
|
`kind delete clusters {{cluster-name}}`
|
||
|
|
||
|
- Get details about clusters, nodes, or the kubeconfig:
|
||
|
|
||
|
`kind get {{clusters|nodes|kubeconfig}}`
|
||
|
|
||
|
- Export the kubeconfig or the logs:
|
||
|
|
||
|
`kind export {{kubeconfig|logs}}`
|