tldr/pages/common/kind.md

22 lines
572 B
Markdown
Raw Normal View History

2020-10-06 12:25:24 +01:00
# kind
> 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:
`kind create cluster --name {{cluster_name}}`
2020-10-06 12:25:24 +01:00
- Delete one or more clusters:
`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}}`