Kind Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:
==Create Cluster==
==Create Cluster==
{{External|https://kind.sigs.k8s.io/docs/user/quick-start/#creating-a-cluster}}
{{External|https://kind.sigs.k8s.io/docs/user/quick-start/#creating-a-cluster}}
This will bootstrap a Kubernetes cluster using a predefined [[Kind_Concepts#Node_Image|node image]].
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
export KIND_EXPERIMENTAL_PROVIDER=docker
export KIND_EXPERIMENTAL_PROVIDER=docker

Revision as of 23:42, 5 December 2023

Internal

Installation

brew install kind

Cluster

See:

Kind Cluster

Create Cluster

https://kind.sigs.k8s.io/docs/user/quick-start/#creating-a-cluster

This will bootstrap a Kubernetes cluster using a predefined node image.

export KIND_EXPERIMENTAL_PROVIDER=docker
kind create cluster

By default, the cluster is named "kind".

Upon creation, it can be listed with kind get clusters. Nodes can be listed with: kind get nodes.

Delete Cluster

Get Clusters

kind get clusters

Nodes

Get Nodes

kind get nodes