2020-10-06 12:25:24 +01:00
|
|
|
# kind
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Run local Kubernetes clusters using Docker container "nodes".
|
2020-10-06 12:25:24 +01:00
|
|
|
> 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:
|
|
|
|
|
2020-11-01 13:40:05 +00:00
|
|
|
`kind create cluster --name {{cluster_name}}`
|
2020-10-06 12:25:24 +01:00
|
|
|
|
|
|
|
- Delete one or more clusters:
|
|
|
|
|
2020-11-01 13:40:05 +00:00
|
|
|
`kind delete clusters {{cluster_name}}`
|
2020-10-06 12:25:24 +01:00
|
|
|
|
|
|
|
- Get details about clusters, nodes, or the kubeconfig:
|
|
|
|
|
|
|
|
`kind get {{clusters|nodes|kubeconfig}}`
|
|
|
|
|
|
|
|
- Export the kubeconfig or the logs:
|
|
|
|
|
|
|
|
`kind export {{kubeconfig|logs}}`
|