Kind Operations

From NovaOrdis Knowledge Base
Revision as of 23:57, 7 December 2023 by Ovidiu (talk | contribs) (→‎Get Nodes)
Jump to navigation Jump to search

Internal

Installation

brew install kind


Alternate installation instructions provided by YuniKorn developer documentation: https://yunikorn.apache.org/docs/next/developer_guide/env_setup/#local-kubernetes-cluster-with-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

kind delete cluster
Deleting cluster "kind" ...
Deleted nodes: ["kind-worker" "kind-control-plane"]

Get Clusters

kind get clusters

Nodes

Get Nodes

kind get nodes

Load Images into a Node

kind load

Is this necessary with a cluster-wide registry? See [Kind_Concepts#Registry|kind Registry]] and kind Image Handling