HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kind — Run local Kubernetes clusters using Docker container "nodes". Designed for testing Kubernetes itself

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlocalrunclikubernetesusingclusterskind

Problem

How to use the kind command: Run 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>.

Solution

kind — Run 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}}

Code Snippets

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}}

Context

tldr-pages: common/kind

Revisions (0)

No revisions yet.